Soup.Cookie – libsoup-2.4 Reference Manual
Packages
libsoup-2.4
Soup
Cookie
parse
Cookie
applies_to_uri
copy
domain_matches
equal
free
get_domain
get_expires
get_http_only
get_name
get_path
get_secure
get_value
set_domain
set_expires
set_http_only
set_max_age
set_name
set_path
set_secure
set_value
to_cookie_header
to_set_cookie_header
domain
expires
http_only
name
path
secure
value
Cookie
Object Hierarchy:
Description:
[
Compact
]
public
class
Cookie
Namespace:
Soup
Package:
libsoup-2.4
Content:
Static methods:
public
static
Cookie
parse
(
string
header,
URI
origin)
Creation methods:
public
Cookie
(
string
name,
string
value,
string
domain,
string
path,
int
max_age)
Methods:
public
bool
applies_to_uri
(
URI
uri)
public
Cookie
copy
()
public
bool
domain_matches
(
string
host)
public
bool
equal
(
Cookie
cookie2)
public
void
free
()
public
unowned
string
get_domain
()
public
unowned
Date
get_expires
()
public
bool
get_http_only
()
public
unowned
string
get_name
()
public
unowned
string
get_path
()
public
bool
get_secure
()
public
unowned
string
get_value
()
public
void
set_domain
(
string
domain)
public
void
set_expires
(
Date
expires)
public
void
set_http_only
(
bool
http_only)
public
void
set_max_age
(
int
max_age)
public
void
set_name
(
string
name)
public
void
set_path
(
string
path)
public
void
set_secure
(
bool
secure)
public
void
set_value
(
string
value)
public
string
to_cookie_header
()
public
string
to_set_cookie_header
()
Fields:
public
unowned
string
domain
public
unowned
Date
expires
public
bool
http_only
public
unowned
string
name
public
unowned
string
path
public
bool
secure
public
unowned
string
value