package cohttp-lwt-unix

  1. Overview
  2. Docs
type 'a t = 'a Lwt.t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val return : 'a -> 'a t
type ic = Lwt_io.input_channel
type oc = Lwt_io.output_channel
val read_line : ic -> string option t
val read : ic -> int -> string t
val write : oc -> string -> unit t
val flush : oc -> unit t
type error = exn
val catch : (unit -> 'a t) -> ('a, error) Stdlib.result t
val pp_error : Stdlib.Format.formatter -> error -> unit
OCaml

Innovation. Community. Security.