Binding Module

Functions and values

Function or value Description

bind fBind fCont fErr

Full Usage: bind fBind fCont fErr

Parameters:
Returns: HttpContext -> 'c
fBind : HttpContext -> Choice<'a, 'b>
fCont : 'a -> HttpContext -> 'c
fErr : 'b -> HttpContext -> 'c
Returns: HttpContext -> 'c

bindReq f fCont fErr

Full Usage: bindReq f fCont fErr

Parameters:
Returns: HttpContext -> 'c
f : HttpRequest -> Choice<'a, 'b>
fCont : 'a -> HttpContext -> 'c
fErr : 'b -> HttpContext -> 'c
Returns: HttpContext -> 'c

form formKey f req

Full Usage: form formKey f req

Parameters:
Returns: Choice<'a, string>
formKey : string
f : string -> Choice<'a, string>
req : HttpRequest
Returns: Choice<'a, string>

header key f req

Full Usage: header key f req

Parameters:
Returns: Choice<'a, string>
key : string
f : string -> Choice<'a, string>
req : HttpRequest
Returns: Choice<'a, string>

query queryKey f req

Full Usage: query queryKey f req

Parameters:
Returns: Choice<'a, string>
queryKey : string
f : string -> Choice<'a, string>
req : HttpRequest
Returns: Choice<'a, string>