Skip to content

Commit dbf559f

Browse files
committed
graphql-ws 5.6.1 fixes its multi subprotocols problem. Add a mention in the docs
1 parent 84d0dfd commit dbf559f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/transports/websockets.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It will propose both subprotocols to the backend and detect the supported protoc
1212
from the response http headers returned by the backend.
1313

1414
.. note::
15-
For some backends (graphql-ws without backwards compatibility), it may be necessary to specify
15+
For some backends (graphql-ws before `version 5.6.1`_ without backwards compatibility), it may be necessary to specify
1616
only one subprotocol to the backend. It can be done by using
1717
:code:`subprotocols=[WebsocketsTransport.GRAPHQLWS_SUBPROTOCOL]`
1818
or :code:`subprotocols=[WebsocketsTransport.APOLLO_SUBPROTOCOL]` in the transport arguments.
@@ -125,5 +125,6 @@ Here is an example with a ping sent every 60 seconds, expecting a pong within 10
125125
pong_timeout=10,
126126
)
127127

128+
.. _version 5.6.1: https://github.com/enisdenjo/graphql-ws/releases/tag/v5.6.1
128129
.. _Apollo websockets transport protocol: https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
129130
.. _GraphQL-ws websockets transport protocol: https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md

0 commit comments

Comments
 (0)