package cohttp-async

  1. Overview
  2. Docs

Module Cohttp_async.Body_rawSource

Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval empty : [> `Empty ]
Sourceval of_string : string -> t
Sourceval of_pipe : 'a -> [> `Pipe of 'a ]
Sourceval to_string : [< `Empty | `Pipe of Base.String.t Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> Base.String.t Async_kernel.Deferred.t
Sourceval to_string_list : [< `Empty | `Pipe of string Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> string list Async_kernel.Deferred.t
Sourceval drain : [< `Empty | `Pipe of 'a Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> unit Async_kernel.Deferred.t
Sourceval is_empty : t -> bool Async_kernel.Deferred.t
Sourceval to_pipe : [< `Empty | `Pipe of 'a Async_kernel.Pipe.Reader.t | `String of 'a | `Strings of 'a list ] -> 'a Async_kernel.Pipe.Reader.t
Sourceval disable_chunked_encoding : [< `Empty | `Pipe of string Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> ([> B.t ] * int64) Async_kernel.Deferred.t
Sourceval transfer_encoding : [< `Empty | `Pipe of 'a | `String of string | `Strings of string list ] -> Cohttp.Transfer.encoding
Sourceval of_string_list : 'a list -> [> `Pipe of 'a Async_kernel.Pipe.Reader.t ]
Sourceval map : [< `Empty | `Pipe of string Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> f:(string -> Base.string) -> t
Sourceval as_pipe : [< `Empty | `Pipe of 'a Async_kernel.Pipe.Reader.t | `String of 'a | `Strings of 'a list ] -> f:('a Async_kernel.Pipe.Reader.t -> 'b) -> [> `Pipe of 'b ]
Sourceval to_form : [< `Empty | `Pipe of Base.String.t Async_kernel.Pipe.Reader.t | `String of string | `Strings of string list ] -> (string * string list) list Async_kernel.Deferred.t
Sourceval of_form : ?scheme:string -> (string * string list) list -> t
Sourceval write_body : ('a -> Base.string -> unit Async_kernel.Deferred.t) -> t -> 'a -> unit Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.