GraphQLWsWebSocketHandler
class GraphQLWsWebSocketHandler(executableSchema: ExecutableSchema, scope: CoroutineScope, executionContext: ExecutionContext, sendMessage: suspend (WebSocketMessage) -> Unit, connectionInitHandler: WsConnectionInitHandler = { WsConnectionInitAck }) : WebSocketHandler
A WebSocketHandler that implements https://github.com/enisdenjo/graphql-ws/blob/0c0eb499c3a0278c6d9cc799064f22c5d24d2f60/PROTOCOL.md
Constructors
Link copied to clipboard
constructor(executableSchema: ExecutableSchema, scope: CoroutineScope, executionContext: ExecutionContext, sendMessage: suspend (WebSocketMessage) -> Unit, connectionInitHandler: WsConnectionInitHandler = { WsConnectionInitAck })