Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Struct Soup.Cookie

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupCookie
Struct : Cookie
  Show / Hide Inherited methods, properties and signals
cookie came from. An HTTP cookie. generated from a string that appears to have no name, then name will be the empty string. host/domain, to restrict this cookie to. If domain starts with ".", that indicates a domain (which matches the string after the ".", or any hostname that has domain as a suffix). Otherwise, it is a hostname and must match exactly. "expires" attribute, or the "max-age" attribute specified in RFC 2109. If expires is NULL, it indicates that neither "expires" nor "max-age" was specified, and the cookie expires at the end of the session. If http_only is set, the cookie should not be exposed to untrusted code (eg, javascript), so as to minimize the danger posed by cross-site scripting attacks.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Soup.Cookie ()
Create a new Soup.Cookie
Create a new Soup.Cookie
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup
Method
Soup.cookie_parse (String header, URI origin) : Soup.Cookie
Parses header and returns a SoupCookie.
Soup.CookieJar
Signal
changed (CookieJar self, Cookie object, Cookie p0) : none
Soup.CookieJar
Method
add_cookie (Cookie cookie) : none
Adds cookie to jar, emitting the 'changed' signal if we are modifying an existing cookie or adding a valid new cookie ('valid' means that the cookie's expire date is not in the past).
Soup.CookieJar
Method
delete_cookie (Cookie cookie) : none
Deletes cookie from jar, emitting the 'changed' signal.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)