package graphql-cohttp
Run GraphQL servers with `cohttp`
Install
Dune Dependency
Authors
Maintainers
Sources
graphql-0.13.0.tbz
sha256=555f088a05600fb121b8ab79e13c145172e26fc0fd0576872fdf027853f2653d
md5=089104444ae28ebcfa85fec88628507a
doc/graphql-cohttp/Websocket_handler/Make/index.html
Module Websocket_handler.Make
Source
Parameters
module IO : Graphql_intf.IO
module Ws : Websocket.Connection.S with type 'a IO.t = 'a IO.t
Signature
Source
val create_message :
?opcode:Websocket.Frame.Opcode.t ->
?id:string ->
?payload:Yojson.Basic.t ->
server_message ->
Websocket.Frame.t
Source
val handle_frame :
t ->
execute_query:
((string * Graphql_parser.const_value) list option ->
string option ->
string ->
([< `Response of Yojson.Basic.t
| `Stream of (Yojson.Basic.t, Yojson.Basic.t) result IO.Stream.t ],
Yojson.Basic.t)
result
IO.t) ->
Websocket.Frame.t ->
unit Ws.IO.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page