package graphql-cohttp

  1. Overview
  2. Docs

Module type Graphql_cohttp.SSource

Sourcetype body
Sourcetype 'ctx schema
Sourcetype response_action = [
  1. | `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit IO.t)
  2. | `Response of Cohttp.Response.t * body
]
Sourcetype 'conn callback = 'conn -> Cohttp.Request.t -> body -> response_action IO.t
Sourceval execute_request : 'ctx schema -> 'ctx -> Cohttp.Request.t -> body -> response_action IO.t
Sourceval make_callback : (Cohttp.Request.t -> 'ctx) -> 'ctx schema -> 'conn callback