htils 1
A small set of utilities for C programming.
Loading...
Searching...
No Matches
h2o_cookie Struct Reference

Cookie structure. More...

#include <cookie.h>

Data Fields

h2o_stringmap_tmap
 
h2o_stringdomain
 
h2o_stringpath
 
h2o_stringexpires_str
 
h2o_same_site_args_t same_site
 
i64 expires
 
i64 max_age
 
b32 secure
 
b32 http_only
 

Detailed Description

Cookie structure.

Parameters
namesThe names of each cookie field.
valuesThe values of each cookie field.
domainThe domain of the cookie.
pathThe path of the cookie.
expires_strThe expires string of the cookie.
same_siteThe SameSite value of the cookie.
expiresThe expires value of the cookie.
max_ageThe max-age value of the cookie.
secureThe secure value of the cookie.
http_onlyThe http-only value of the cookie.

Field Documentation

◆ domain

h2o_string* h2o_cookie::domain

◆ expires

i64 h2o_cookie::expires

◆ expires_str

h2o_string* h2o_cookie::expires_str

◆ http_only

b32 h2o_cookie::http_only

◆ map

h2o_stringmap_t* h2o_cookie::map

◆ max_age

i64 h2o_cookie::max_age

◆ path

h2o_string* h2o_cookie::path

◆ same_site

h2o_same_site_args_t h2o_cookie::same_site

◆ secure

b32 h2o_cookie::secure

The documentation for this struct was generated from the following file: