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 -> Sexplib0.Sexp.tval t_of_sexp : Sexplib0.Sexp.t -> tval __t_of_sexp__ : Sexplib0.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