SubscriptionWebSocketHandler
class SubscriptionWebSocketHandler( executableSchema: ExecutableSchema, scope: CoroutineScope, executionContext: ExecutionContext, sendMessage: suspend (WebSocketMessage) -> Unit, connectionInitHandler: ConnectionInitHandler = { ConnectionInitAck }) : WebSocketHandler
A WebSocketHandler that implements https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
Constructors
Link copied to clipboard
constructor( executableSchema: ExecutableSchema, scope: CoroutineScope, executionContext: ExecutionContext, sendMessage: suspend (WebSocketMessage) -> Unit, connectionInitHandler: ConnectionInitHandler = { ConnectionInitAck })