Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Naboris.ReqModule for working with incoming requests.
val reqd : 'sessionData t -> Httpaf.Reqd.tGet HttpAf request descriptor.
val getHeader : string -> 'sessionData t -> string optionGet header from request. None if no matching header is found.
Get lwt promise of the body string from an http request.
val getSessionData : 'sessionData t -> 'sessionData optionExtracts 'sessionData from request.
Returns None if no session exists.
Sets 'sessionData onto a request.
val fromReqd : Httpaf.Reqd.t -> 'sessionData tIntended for internal use. Creates default req record.