libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
Cookie Parsing

Parse Set-Cookie headers. More...

Enumerations

enum  cookie_parse_result_t {
  COOKIE_PARSE_SUCCESS = 0 , COOKIE_PARSE_ERROR_INVALID_FORMAT , COOKIE_PARSE_ERROR_INVALID_NAME , COOKIE_PARSE_ERROR_INVALID_VALUE ,
  COOKIE_PARSE_ERROR_INVALID_DOMAIN , COOKIE_PARSE_ERROR_INVALID_PATH , COOKIE_PARSE_ERROR_INVALID_EXPIRES , COOKIE_PARSE_ERROR_MEMORY
}
 Cookie parsing result codes. More...
 

Detailed Description

Parse Set-Cookie headers.

Enumeration Type Documentation

◆ cookie_parse_result_t

Cookie parsing result codes.

Enumerator
COOKIE_PARSE_SUCCESS 

Cookie parsed successfully

COOKIE_PARSE_ERROR_INVALID_FORMAT 

Invalid Set-Cookie format

COOKIE_PARSE_ERROR_INVALID_NAME 

Invalid cookie name

COOKIE_PARSE_ERROR_INVALID_VALUE 

Invalid cookie value

COOKIE_PARSE_ERROR_INVALID_DOMAIN 

Invalid domain attribute

COOKIE_PARSE_ERROR_INVALID_PATH 

Invalid path attribute

COOKIE_PARSE_ERROR_INVALID_EXPIRES 

Invalid expires attribute

COOKIE_PARSE_ERROR_MEMORY 

Memory allocation failed