public class GraphQLWSSubprotocolHandler extends Object implements WebSocketSubprotocolHandler
| Constructor and Description |
|---|
GraphQLWSSubprotocolHandler() |
GraphQLWSSubprotocolHandler(Integer subscriptionInitializationTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleCancel()
Called when the subscription is cancelled on the client side (by the user).
|
void |
handleWebSocketStart(javax.json.JsonObject request,
io.smallrye.mutiny.subscription.MultiEmitter<? super String> dataEmitter,
io.vertx.core.http.WebSocket webSocket)
Called after the websocket channel is successfully initialized.
|
public GraphQLWSSubprotocolHandler()
public GraphQLWSSubprotocolHandler(Integer subscriptionInitializationTimeout)
public void handleWebSocketStart(javax.json.JsonObject request,
io.smallrye.mutiny.subscription.MultiEmitter<? super String> dataEmitter,
io.vertx.core.http.WebSocket webSocket)
WebSocketSubprotocolHandlerhandleWebSocketStart in interface WebSocketSubprotocolHandlerpublic void handleCancel()
WebSocketSubprotocolHandlerhandleCancel in interface WebSocketSubprotocolHandlerCopyright © 2018–2022. All rights reserved.