graphql-cohttp
Run GraphQL servers with `cohttp`
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library graphql-cohttp
Parameters
module Schema : Graphql_intf.Schema
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