package cohttp

  1. Overview
  2. Docs

Basic satisfaction of Cohttp_lwt.Net

module IO : Cohttp.S.IO with type 'a t = 'a Lwt.t and type ic = Lwt_io.input_channel and type oc = Lwt_io.output_channel and type conn = Conduit_lwt_unix.flow
type ctx = {
  1. ctx : Conduit_lwt_unix.ctx;
  2. resolver : Resolver_lwt.t;
}
val sexp_of_ctx : ctx -> Sexplib.Sexp.t
val init : ?ctx:Conduit_lwt_unix.ctx -> ?resolver:Resolver_lwt.t -> unit -> ctx
val default_ctx : ctx
val close_in : 'a Lwt_io.channel -> unit
val close_out : 'a Lwt_io.channel -> unit
val close : 'a Lwt_io.channel -> 'b Lwt_io.channel -> unit
OCaml

Innovation. Community. Security.