diff --git a/docs/providers.rst b/docs/providers.rst index 77a6b2d076..0a32e57579 100644 --- a/docs/providers.rst +++ b/docs/providers.rst @@ -316,7 +316,7 @@ WebsocketProvider use the ``websocket_kwargs`` to do so. See the `websockets documentation`_ for available arguments. - .. _`websockets documentation`: https://websockets.readthedocs.io/en/stable/api.html#websockets.protocol.WebSocketCommonProtocol + .. _`websockets documentation`: https://websockets.readthedocs.io/en/stable/reference/client.html#websockets.client.WebSocketClientProtocol Unlike HTTP connections, the timeout for WS connections is controlled by a separate ``websocket_timeout`` argument, as shown below. diff --git a/newsfragments/2173.doc.rst b/newsfragments/2173.doc.rst new file mode 100644 index 0000000000..032ff638d9 --- /dev/null +++ b/newsfragments/2173.doc.rst @@ -0,0 +1 @@ +Correct link to Websocket library documentation