package graphql-cohttp

  1. Overview
  2. Docs
module IO : Cohttp.S.IO
type body
type 'ctx schema
type response_action = [
  1. | `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit IO.t)
  2. | `Response of Cohttp.Response.t * body
]
type 'conn callback = 'conn -> Cohttp.Request.t -> body -> response_action IO.t
val execute_request : 'ctx schema -> 'ctx -> Cohttp.Request.t -> body -> response_action IO.t
val make_callback : (Cohttp.Request.t -> 'ctx) -> 'ctx schema -> 'conn callback
OCaml

Innovation. Community. Security.