Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Functions for the HTTP Cookie and Set-Cookie header fields. Using the Set-Cookie header field, an HTTP server can pass name/value pairs and associated metadata (called cookies) to a user agent. When the user agent makes subsequent requests to the server, the user agent uses the metadata and other information to determine whether to return the name/value pairs in the Cookie header.
type expiration = [
| `Session
Instructs the user agent to discard the cookie unconditionally when the user agent terminates.
*)| `Max_age of int64
The value of the Max-Age attribute is delta-seconds, the lifetime of the cookie in seconds, a decimal non-negative integer.
*) ]
Lifetime of the cookie after which the user agent discards it
val expiration_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> expiration
val __expiration_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> expiration
val sexp_of_expiration : expiration -> Ppx_sexp_conv_lib.Sexp.t
module Set_cookie_hdr : sig ... end
module Cookie_hdr : sig ... end