package graphql-cohttp

  1. Overview
  2. Docs

Module Connection.MakeSource

Parameters

module IO : Cohttp.S.IO

Signature

Sourcemodule IO = IO
Sourcetype t
Sourceval create : ?read_buf:Buffer.t -> ?write_buf:Buffer.t -> mode:mode -> Cohttp.Request.t -> IO.ic -> IO.oc -> t
Sourceval send : t -> Frame.t -> unit IO.t
Sourceval send_multiple : t -> Frame.t list -> unit IO.t
Sourceval recv : t -> Frame.t IO.t
Sourceval upgrade_connection : ?read_buf:Buffer.t -> ?write_buf:Buffer.t -> Cohttp.Request.t -> (t -> unit IO.t) -> [> `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit IO.t) ]
OCaml

Innovation. Community. Security.