public interface WebSocketGraphQlClientInterceptor extends GraphQlClientInterceptor
GraphQlClientInterceptor
with additional methods to
for WebSocket interception points. Only a single interceptor of type
WebSocketGraphQlClientInterceptor
may be configured.GraphQlClientInterceptor.Chain, GraphQlClientInterceptor.SubscriptionChain
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<Object> |
connectionInitPayload()
Provide a
Mono that returns the payload for the
"connection_init" message. |
default reactor.core.publisher.Mono<Void> |
handleConnectionAck(Map<String,Object> ackPayload)
Handler the
"connection_ack" message received from the server at
the start of the WebSocket connection. |
andThen, intercept, interceptSubscription
default reactor.core.publisher.Mono<Object> connectionInitPayload()
Mono
that returns the payload for the
"connection_init"
message. The Mono
is subscribed to every
type a new WebSocket connection is established.