Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Cohttp_lwt.Body end
val sexp_of_t : t -> Sexplib0.Sexp.t
val t_of_sexp : Sexplib0.Sexp.t -> t
val __t_of_sexp__ : Sexplib0.Sexp.t -> t
val to_string_list : t -> string list Lwt.t
val to_form : t -> (string * string list) list Lwt.t
val create_stream :
('a -> Cohttp.Transfer.chunk Lwt.t) ->
'a ->
string Lwt_stream.t
val write_body : (string -> unit Lwt.t) -> t -> unit Lwt.t
val drain_body : t -> unit Lwt.t
type transfer_encoding = Cohttp.Transfer.encoding
val to_string : Cohttp_lwt.Body.t -> string Lwt.t
val to_stream : Cohttp_lwt.Body.t -> string Lwt_stream.t
val to_json : Cohttp_lwt.Body.t -> [> Ezjsonm.t ] Lwt.t
val of_string : string -> Cohttp_lwt.Body.t
val of_stream : string Lwt_stream.t -> Cohttp_lwt.Body.t
val of_json : Ezjsonm.t -> Cohttp_lwt.Body.t
val map : (string -> string) -> Cohttp_lwt.Body.t -> Cohttp_lwt.Body.t
val length : Cohttp_lwt.Body.t -> (int64 * Cohttp_lwt.Body.t) Lwt.t
val is_empty : Cohttp_lwt.Body.t -> bool Lwt.t
val drain : Cohttp_lwt.Body.t -> unit Lwt.t
val transfer_encoding : Cohttp_lwt.Body.t -> Cohttp.Transfer.encoding