Close the sync connection.
(self)
| 186 | self._sock = None |
| 187 | |
| 188 | def close(self): |
| 189 | """Close the sync connection.""" |
| 190 | with self._lock: |
| 191 | self._close_socket() |
| 192 | |
| 193 | # ------------------------------------------------------------------------- |
| 194 | # Async API (for async HTTP workers) |