Module type Server.S

GraphQL server

module IO : Cohttp_lwt.S.IO
type repo
type server
type response_action = [
  1. | `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit Lwt.t)
  2. | `Response of Cohttp.Response.t * Cohttp_lwt.Body.t
]
val schema : repo -> unit Schema.schema
val execute_request : unit Schema.schema -> Cohttp_lwt.Request.t -> Cohttp_lwt.Body.t -> response_action Lwt.t
val v : repo -> server