package cohttp-async

  1. Overview
  2. Docs

Module Io.RequestSource

Sourcetype reader
Sourcetype writer
Sourceval read : IO.ic -> [ `Eof | `Invalid of string | `Ok of Http.Request.t ] IO.t
Sourceval make_body_writer : ?flush:bool -> Http.Request.t -> IO.oc -> writer
Sourceval make_body_reader : Http.Request.t -> IO.ic -> reader
Sourceval read_body_chunk : reader -> Cohttp.Transfer.chunk IO.t
Sourceval write_header : Http.Request.t -> IO.oc -> unit IO.t
Sourceval write_body : writer -> string -> unit IO.t
Sourceval write : ?flush:bool -> (writer -> unit IO.t) -> Http.Request.t -> IO.oc -> unit IO.t
OCaml

Innovation. Community. Security.