Graphql_internal.Makemodule Ws : sig ... endmodule Websocket_transport : sig ... endtype response_action = [ | `Expert of Cohttp.Response.t * ( Io.ic -> Io.oc -> unit Io.t ) |
| `Response of Cohttp.Response.t * Body.t |
]type 'conn callback =
'conn ->
Cohttp.Request.t ->
Body.t ->
response_action Io.tval respond_string :
status:Cohttp__.Code.status_code ->
body:string ->
unit ->
[> `Response of Cohttp.Response.t * Body.t ] Io.tval static_file_response :
string ->
[> `Response of Cohttp.Response.t * Body.t ] Io.tval make_callback :
( Cohttp.Request.t -> 'ctx ) ->
'ctx Schema.schema ->
'conn callback