Io.Responseval read : IO.ic -> [ `Eof | `Invalid of string | `Ok of Http.Response.t ] IO.tval make_body_writer : flush:bool -> Http.Response.t -> IO.oc -> writerval make_body_reader : Http.Response.t -> IO.ic -> readerval read_body_chunk : reader -> Cohttp.Transfer.chunk IO.tval write_header : Http.Response.t -> IO.oc -> unit IO.tval write :
flush:bool ->
(writer -> unit IO.t) ->
Http.Response.t ->
IO.oc ->
unit IO.t