Skip to content

Commit 3664bad

Browse files
committed
Support reconnecting in the threading implementation.
1 parent d21a39b commit 3664bad

6 files changed

Lines changed: 366 additions & 37 deletions

File tree

docs/project/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ notice.
3535
New features
3636
............
3737

38+
* Added support for reconnecting automatically by using
39+
:func:`~sync.client.reconnect` as an iterator to the :mod:`threading`
40+
implementation.
41+
3842
* :func:`~sync.client.connect` now follows redirects in the :mod:`threading`
3943
implementation.
4044

docs/reference/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Client
149149
+------------------------------------+--------+--------+--------+--------+--------+
150150
| Close connection on context exit ||||||
151151
+------------------------------------+--------+--------+--------+--------+--------+
152-
| Reconnect automatically || ||||
152+
| Reconnect automatically || ||||
153153
+------------------------------------+--------+--------+--------+--------+--------+
154154
| Configure ``Origin`` header ||||||
155155
+------------------------------------+--------+--------+--------+--------+--------+

docs/reference/sync/client.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@ Opening a connection
88

99
.. autofunction:: connect
1010

11+
.. autofunction:: reconnect
12+
1113
.. autofunction:: unix_connect
1214

15+
.. autofunction:: unix_reconnect
16+
17+
.. autofunction:: process_exception
18+
1319
Using a connection
1420
------------------
1521

0 commit comments

Comments
 (0)