graphql_ws
- [https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md]apollo
- [https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md]Copyright © (C) 2022, Sergey
Authors: Sergey (me@seriyps.ru).
graphql_ws
- [https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md]apollo
- [https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md]abstract datatype: config()
features() = #{subprotocol => protocol()}
options() = #{json_mod => module(), max_frame_size => pos_integer(), protocols => [protocol()], heartbeat => timeout(), idle_timeout => pos_integer()}
protocol() = apollo | graphql_ws
config/3 | Creates a structure to be passed as InitialState to Cowboy's router. |
init/2 | |
terminate/3 | |
websocket_handle/2 | |
websocket_info/2 | |
websocket_init/1 |
Creates a structure to be passed as InitialState
to Cowboy's router.
See [https://ninenines.eu/docs/en/cowboy/2.9/manual/cowboy_router/]
init(Req0, X2) -> any()
terminate(Reason, PartialReq, State) -> any()
websocket_handle(Frame, State) -> any()
websocket_info(Any, State) -> any()
websocket_init(State) -> any()
Generated by EDoc