Function or value | Description |
Full Usage:
bestCharset x
Parameters:
string list
-
Returns: string -> (string * float) option
|
|
Full Usage:
bestEncoding x
Parameters:
string list
Returns: string -> (string * float) option
|
|
Full Usage:
bestLanguage x
Parameters:
string seq
-
Returns: string -> (string * float) option
|
|
Full Usage:
bestMediaType x
Parameters:
string seq
Returns: string -> (string * float) option
|
|
Full Usage:
bestOf negotiate serves accepts
Parameters:
'a -> 'b -> 'c list
-
serves : 'a
-
accepts : 'b
-
Returns: 'c option
|
|
Full Usage:
filterMediaTypes mediaType accepts
Parameters:
string
-
accepts : string
-
Returns: (string * float) list
|
|
Full Usage:
filterSortAccept
Returns: (string * float * float) seq -> (string * float) list
|
|
Full Usage:
matchCharset serves accepts
Parameters:
string
-
accepts : string
-
Returns: string option
|
|
Full Usage:
matchLanguage serves accepts
Parameters:
string
-
accepts : string
-
Returns: string option
|
|
Full Usage:
matchMediaType serves accepts
Parameters:
string
-
accepts : string
-
Returns: string option
|
|
Full Usage:
negotiate matcher serves accepts
Parameters:
'a -> string -> 'b option
-
serves : 'a seq
-
accepts : string
-
Returns: ('b * float) list
|
|
Full Usage:
negotiateCharset x
Parameters:
string list
Returns: string -> (string * float) list
|
|
Full Usage:
negotiateEncoding x
Parameters:
string list
Returns: string -> (string * float) list
|
|
Full Usage:
negotiateLanguage x
Parameters:
string seq
-
Returns: string -> (string * float) list
|
|
Full Usage:
negotiateList matcher serves accepts
Parameters:
'a -> 'b -> ('c * 'd) option
-
serves : 'a seq
-
accepts : 'b seq
-
Returns: ('c * 'd) list
|
|
Full Usage:
negotiateMediaType x
Parameters:
string seq
Returns: string -> (string * float) list
|
|
Full Usage:
parseAccept
Returns: string -> (string * float * float) seq
|
|
Full Usage:
parseFilterSortAccept
Returns: string -> (string * float) list
|
|
Full Usage:
parseMediaTypes
Returns: string -> (string * (string * string) * float) list
|
|
Full Usage:
parseQ s
Parameters:
string[]
-
Header item split by ';'
Returns: string * float * float
|
|
Full Usage:
splitMediaTypeSubtype m
Parameters:
string
-
Returns: string * string
|
Active pattern | Description |
Full Usage:
(|AcceptsMedia|_|) serves accepts
Parameters:
string
-
accepts : string list
-
Returns: unit option
|