Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class ConnectionInitError(val payload: Optional<Any?> = Optional.absent()) : ConnectionInitResult
Link copied to clipboard
Link copied to clipboard
sealed interface ConnectionInitResult
Link copied to clipboard
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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface WebSocketMessage
Link copied to clipboard

Functions

Link copied to clipboard
fun ExecutionContext.subscriptionId(): String