Interface GraphQLWSHandler
- All Superinterfaces:
Handler<RoutingContext>, ProtocolUpgradeHandler
A handler for the GraphQL over WebSocket Protocol.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic GraphQLWSHandlerBuilderbuilder(graphql.GraphQL graphQL) Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.static GraphQLWSHandlercreate(graphql.GraphQL graphQL) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.static GraphQLWSHandlercreate(graphql.GraphQL graphQL, GraphQLWSOptions options) Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.
-
Method Details
-
create
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the default
GraphQLWSOptions. -
create
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphQLWSOptions
-
builder
Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.
-