Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val connect :
?trace:(string -> unit) ->
?protocol:string ->
?host:string option ->
?port:int option ->
string ->
Graphql_jsoo_client__.Connection.t Lwt.t
connect ~trace ~host ~port path
creates a WebSocket connection to the given host, port and path. If no host or port is given it will use the one the page (if any) is served from. Trace can be used to trace events. Default is no trace.
Protocol is "ws" or "wss" for secure connections.
Returns a connection object
disconnect con
disconnect the websocket assosiated with the connection
debug_list_handlers con
returns a list of handlers associated with connection. The list has typples of (id, time added, operation type)
string_of_state con
returns a string for the connection state
module Make (Q : QuerySig.Query) : sig ... end