package graphql-cohttp

  1. Overview
  2. Docs

Parameters

module IO : Cohttp.S.IO

Signature

module IO = IO
type t
val create : ?read_buf:Buffer.t -> ?write_buf:Buffer.t -> mode:mode -> Cohttp.Request.t -> IO.ic -> IO.oc -> t
val send : t -> Frame.t -> unit IO.t
val send_multiple : t -> Frame.t list -> unit IO.t
val recv : t -> Frame.t IO.t
val req : t -> Cohttp.Request.t
val 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.