Private.Input_channel
module Bytebuffer = Cohttp_lwt.Private.Bytebuffer
val create : ?buf_len:int -> Lwt_io.input_channel -> t
val read_line_opt : t -> string option Lwt.t
val read : t -> int -> string Lwt.t
val refill : t -> [ `Eof | `Ok ] Lwt.t
val with_input_buffer : t -> f:(string -> pos:int -> len:int -> 'a * int) -> 'a
val close : t -> unit Lwt.t