package cohttp-lwt-unix

  1. Overview
  2. Docs

Module Net.IOSource

Sourcetype 'a t = 'a Lwt.t
Sourceval (>>=) : 'a t -> ('a -> 'b t) -> 'b t
Sourceval return : 'a -> 'a t
Sourcetype ic = Net.IO.ic
Sourcetype oc = Net.IO.oc
Sourcetype conn = Net.IO.conn
Sourceval refill : ic -> [ `Eof | `Ok ] t
Sourceval with_input_buffer : ic -> f:(string -> pos:int -> len:int -> 'a * int) -> 'a
Sourceval read_line : ic -> string option t
Sourceval read : ic -> int -> string t
Sourceval write : oc -> string -> unit t
Sourceval flush : oc -> unit t
Sourcetype error = Net.IO.error
Sourceval catch : (unit -> 'a t) -> ('a, error) result t
Sourceval pp_error : Format.formatter -> error -> unit
OCaml

Innovation. Community. Security.