Interface GraphQLSubscriptionContextFactory
-
- All Implemented Interfaces:
public interface GraphQLSubscriptionContextFactory<Session extends Object>
Factory that generates a GraphQL context for GraphQL WS subscriptions.
-
-
Method Summary
Modifier and Type Method Description GraphQLContext
generateContext(Session session, Object params)
Generate GraphQL context based on the WebSocket session and connection-init params. -
-
Method Detail
-
generateContext
GraphQLContext generateContext(Session session, Object params)
Generate GraphQL context based on the WebSocket session and connection-init params. If no context should be generated and used in the request, return context from empty map.
-
-
-
-