Sets our main struct and passes it to the parent class.
Creates a new #SoupCookie with the given attributes. (Use soup_cookie_set_secure() and soup_cookie_set_http_only() if you need to set those attributes on the returned cookie.)
Tests if @cookie should be sent to @uri.
Copies @cookie.
Checks if the @cookie's domain and @host match in the sense that @cookie should be sent when making a request to @host, or that @cookie should be accepted when receiving a response from @host.
Tests if @cookie1 and @cookie2 are equal.
Frees @cookie
Get the main Gtk struct
Gets @cookie's domain
Gets @cookie's expiration time.
Gets @cookie's HttpOnly attribute
Gets @cookie's name
Gets @cookie's path
Gets @cookie's secure attribute
the main Gtk struct as a void*
Gets @cookie's value
Sets @cookie's domain to @domain
Sets @cookie's expiration time to @expires. If @expires is %NULL, @cookie will be a session cookie and will expire at the end of the client's session.
Sets @cookie's HttpOnly attribute to @http_only. If %TRUE, @cookie will be marked as "http only", meaning it should not be exposed to web page scripts or other untrusted code.
Sets @cookie's max age to @max_age. If @max_age is -1, the cookie is a session cookie, and will expire at the end of the client's session. Otherwise, it is the number of seconds until the cookie expires. You can use the constants %SOUP_COOKIE_MAX_AGE_ONE_HOUR, %SOUP_COOKIE_MAX_AGE_ONE_DAY, %SOUP_COOKIE_MAX_AGE_ONE_WEEK and %SOUP_COOKIE_MAX_AGE_ONE_YEAR (or multiples thereof) to calculate this value. (A value of 0 indicates that the cookie should be considered already-expired.)
Sets @cookie's name to @name
Sets @cookie's path to @path
When used in conjunction with soup_cookie_jar_get_cookie_list_with_same_site_info() this sets the policy of when this cookie should be exposed.
Sets @cookie's secure attribute to @secure. If %TRUE, @cookie will only be transmitted from the client to the server over secure (https) connections.
Sets @cookie's value to @value
Serializes @cookie in the format used by the Cookie header (ie, for returning a cookie from a #SoupSession to a server).
Serializes @cookie in the format used by the Set-Cookie header (ie, for sending a cookie from a #SoupServer to a client).
the "domain" attribute, or else the hostname that the cookie came from.
the cookie expiration time, or %NULL for a session cookie
%TRUE if the cookie should not be exposed to scripts
the cookie name
the "path" attribute, or %NULL
%TRUE if the cookie should only be tranferred over SSL
the cookie value
Parses @header and returns a #SoupCookie. (If @header contains multiple cookies, only the first one will be parsed.)
the main Gtk struct
#SoupCookie implements HTTP cookies, as described by <ulink url="http://tools.ietf.org/html/rfc6265.txt">RFC 6265</ulink>.
To have a #SoupSession handle cookies for your appliction automatically, use a #SoupCookieJar.