Method

SoupCookieto_set_cookie_header

Declaration [src]

char*
soup_cookie_to_set_cookie_header (
  SoupCookie* cookie
)

Description [src]

Serializes cookie in the format used by the Set-Cookie header.

i.e. for sending a cookie from a SoupServer to a client.

Return value

Type: char*

The header.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.