Cookies
Cookies are data that are maintend both on server and clients. This is a module to get and set cookies in the headers.
Sourcetype same_site = | None| Lax| Strict
Sourcetype cookie = {name : string;value : string;path : string option;domain : string option;expires : Unix.tm option;max_age : int64 option;secure : bool;http_only : bool;same_site : same_site;extension : string option;
} Sourceval create :
?path:string ->
?domain:string ->
?expires:Unix.tm ->
?max_age:int64 ->
?secure:bool ->
?http_only:bool ->
?same_site:same_site ->
?extension:string ->
name:string ->
string ->
t ->
t