Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Opium_kernel.Cookie
SourceSimple cookie module. Cookie values are percent encoded.
Fetch all cookies from a rock request
Get the follow of a cookie with a certain key
val set :
?expiration:Cohttp.Cookie.expiration ->
?path:string ->
?domain:string ->
?secure:bool ->
?http_only:bool ->
Rock.Response.t ->
key:string ->
data:string ->
Rock.Response.t
Set the value of a cookie with a certain key in a response
val set_cookies :
?expiration:Cohttp.Cookie.expiration ->
?path:string ->
?domain:string ->
?secure:bool ->
?http_only:bool ->
Rock.Response.t ->
(string * string) list ->
Rock.Response.t
Like set but will do multiple cookies at once
Rock middleware to add the the functionality above