Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Cohttp.BodyHTTP request and response body handling
Every HTTP body can at least be an empty value or a string
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval __t_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> tSignature for the core of HTTP body handling. Implementations will extend this signature to add more functions for streaming responses via backend-specific functionality.
include S.Body with type t := tval to_string : t -> stringval to_string_list : t -> string listval to_form : t -> (string * string list) listval empty : tval is_empty : t -> boolval of_string : string -> tval of_string_list : string list -> tval of_form : ?scheme:string -> (string * string list) list -> tval transfer_encoding : t -> Transfer.encodingval length : t -> int64