You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
// Set up the WebSocket for handling GraphQL subscriptions.
105
-
newSubscriptionServer(
97
+
SubscriptionServer.create(
106
98
{
107
99
execute,
108
100
subscribe,
@@ -142,7 +134,7 @@ The `graphqlHTTP` function accepts the following options:
142
134
-**`headers`**: An optional string of initial state for the header editor. Only makes sense if headerEditorEnabled is `true`.
143
135
Defaults to empty.
144
136
145
-
-**`subscriptionEndpoint`**: An optional GraphQL string contains the WebSocket server url for subscription.
137
+
-**`subscriptionEndpoint`**: An optional string contains the WebSocket server url for subscription.
146
138
147
139
-**`websocketClient`**: An optional GraphQL string for websocket client used for subscription, `v0`: subscriptions-transport-ws, `v1`: graphql-ws. Defaults to `v0` if not provided
0 commit comments