• About TV's server
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • CookieField structure

    Contains information about a cookie.

    Syntax

    typedef struct CookieField{
    struct CookieField *nextCookie;
    int flags;
    int reserved;
    char *name;
    char *value;
    char *domain;
    char *path;
    long long expires;
    } CookieField;

    Members

    nextCookieflags
    ValueMeaning
    CF_SECURE
    0x1
    Send the secure attribute (section 5.2.5).
    CF_HTTP_ONLY
    0x2
    Send the http only attribute (section 5.2.6).
    CF_DONT_ESCAPE_VALUE
    0x4
    The special characters in the value hold by member value are already escaped. The value can be send without replacing the special characters.
    CF_DONT_ESCAPE_PATH
    0x8
    The special characters in the value hold by member path are already escaped. The value can be send without replacing the special characters.
    CF_SEND_EXPIRES_DATE
    0x10
    Send the expires attribute (section 5.2.1).

    reservednamevaluedomainpathexpires

    Requirements

    Minimum supported API 1.00
    Header tvs_server_http_protocol
    .h