Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Less commonly used.
type 'sessionData t = {
getSession : string option -> 'sessionData Session.t option Lwt.t;
sidKey : string;
maxAge : int;
secret : string;
}
val sidKey : 'sessionData t option -> string
Returns key to be used for session cookies.
val maxAge : 'sessionData t option -> int
Returns max age to be used for session cookies.
val secret : 'sessionData t option -> string
Returns secret used to sign session id cookies.