Debian Codegraph @

testing/web-platform/tests/tools/third_party/websockets/docs/reference/sync/common.rst

raw
1 :orphan:
2
3 Both sides (:mod:`threading`)
4 =============================
5
6 .. automodule:: websockets.sync.connection
7
8 .. autoclass:: Connection
9
10 .. automethod:: __iter__
11
12 .. automethod:: recv
13
14 .. automethod:: recv_streaming
15
16 .. automethod:: send
17
18 .. automethod:: close
19
20 .. automethod:: ping
21
22 .. automethod:: pong
23
24 WebSocket connection objects also provide these attributes:
25
26 .. autoattribute:: id
27
28 .. autoattribute:: logger
29
30 .. autoproperty:: local_address
31
32 .. autoproperty:: remote_address
33
34 The following attributes are available after the opening handshake,
35 once the WebSocket connection is open:
36
37 .. autoattribute:: request
38
39 .. autoattribute:: response
40
41 .. autoproperty:: subprotocol