OptionalautoOptionalconnectionTimeout to receive acknowledgement, in milliseconds. Defaults to 3000.
OptionalconnectionPayload to send during initialization. May be used server-side to acknowledge the connection.
OptionalcreateOverrides web socket creation. For example, when using GraphQLWebSocketClient on server-side, you'll need to create a WebSocket from "ws" instead of a standard WebSocket.
OptionalmaxMaximum delay to wait before reconnection, in milliseconds. Defaults to 30000.
OptionalminMinimum delay to wait before reconnection, in milliseconds. Reconnections only happen with open subscriptions and are controlled per subscription (see GraphQLWebSocketClient.subscribe()). The minimum is 10. Defaults to 500.
OptionalprotocolWebSocket sub-protocol to use. Either "graphql-transport-ws" or "graphql-ws" (legacy). Defaults to "graphql-transport-ws".
OptionalreconnectReconnection delay multiplier. Defaults to 2 (for exponential back-off).
OptionaltypingsURL to GraphQL API.
Should the client automatically reconnect on normal socket closure? Defaults to true.