Class SubscriptionMessageConnectionInit
-
- All Implemented Interfaces:
public final class SubscriptionMessageConnectionInit extends GraphQLSubscriptionMessage
Indicates that the client wants to establish a connection within the existing socket.
Connection init process may fail with the following status codes
4403: Forbidden - if server rejects the connection (e.g. due to auth)
4408: Connection initialisation timeout - if connection-init is not received within specified connection timeout
4429: Too many initialisation requests - if server receives more than one connection-init requests
-
-
Constructor Summary
Constructors Constructor Description SubscriptionMessageConnectionInit(Object payload)
-
Method Summary
Modifier and Type Method Description StringgetType()final ObjectgetPayload()-
-
Constructor Detail
-
SubscriptionMessageConnectionInit
SubscriptionMessageConnectionInit(Object payload)
- Parameters:
payload- optional field to provide additional details about the connection
-
-
Method Detail
-
getPayload
final Object getPayload()
-
-
-
-