Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Accept-Encoding HTTP header parsing and generation
Qualities are integers between 0 and 1000. A header with "q=0.7"
corresponds to a quality of 700
.
include sig ... end
val q_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> q
val sexp_of_q : q -> Ppx_sexp_conv_lib.Sexp.t
type 'a qlist = (q * 'a) list
Lists, annotated with qualities.
include sig ... end
val qlist_of_sexp :
(Ppx_sexp_conv_lib.Sexp.t -> 'a) ->
Ppx_sexp_conv_lib.Sexp.t ->
'a qlist
val sexp_of_qlist :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a qlist ->
Ppx_sexp_conv_lib.Sexp.t
include sig ... end
val pv_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> pv
val sexp_of_pv : pv -> Ppx_sexp_conv_lib.Sexp.t
type p = string * pv
include sig ... end
val p_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> p
val sexp_of_p : p -> Ppx_sexp_conv_lib.Sexp.t
include sig ... end
val media_range_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> media_range
val sexp_of_media_range : media_range -> Ppx_sexp_conv_lib.Sexp.t
include sig ... end
val charset_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> charset
val sexp_of_charset : charset -> Ppx_sexp_conv_lib.Sexp.t
include sig ... end
val encoding_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> encoding
val sexp_of_encoding : encoding -> Ppx_sexp_conv_lib.Sexp.t
Basic language range tag. "en-gb"
is represented as Language ["en"; "gb"]
.
include sig ... end
val language_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> language
val sexp_of_language : language -> Ppx_sexp_conv_lib.Sexp.t
val media_ranges : string option -> (media_range * p list) qlist
val string_of_media_range : (media_range * (string * pv) list) -> q -> string
val string_of_media_ranges : (media_range * p list) qlist -> string