package graphql-cohttp

  1. Overview
  2. Docs

Parameters

module Body : HttpBody with type +'a io := 'a Schema.Io.t

Signature

type 'conn callback = 'conn -> Cohttp.Request.t -> Body.t -> (Cohttp.Response.t * Body.t) Schema.Io.t
val execute_request : 'ctx Schema.schema -> 'ctx -> Cohttp.Request.t -> Body.t -> (Cohttp.Response.t * Body.t) Schema.Io.t
val make_callback : (Cohttp.Request.t -> 'ctx) -> 'ctx Schema.schema -> 'conn callback
OCaml

Innovation. Community. Security.