File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/graphql/lib/src/links/websocket_link Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -176,15 +176,13 @@ class SocketSubProtocol {
176
176
class GraphQLProtocol {
177
177
GraphQLProtocol ._();
178
178
179
- /// graphql-ws: The new (not to be confused with the graphql-ws library).
179
+ /// graphql-ws: Old protocol (not to be confused with the graphql-ws library).
180
180
/// NB. This protocol is it no longer maintained, please consider
181
181
/// to use `SocketSubProtocol.graphqlTransportWs` .
182
182
static const String graphqlWs = "graphql-ws" ;
183
183
184
- /// graphql-transport-ws: New ws protocol used by most Apollo Server instances
185
- /// with subscriptions enabled use this library.
186
- /// N.B: not to be confused with the graphql-ws library that implement the
187
- /// old ws protocol.
184
+ /// graphql-transport-ws: New protocol used by most Apollo Server instances
185
+ /// with subscriptions enabled. Implemented by the graphql-ws library.
188
186
static const String graphqlTransportWs = "graphql-transport-ws" ;
189
187
}
190
188
You can’t perform that action at this time.
0 commit comments