Debian Codegraph @

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

raw
1 :orphan:
2
3 Both sides (`Sans-I/O`_)
4 =========================
5
6 .. _Sans-I/O: https://sans-io.readthedocs.io/
7
8 .. automodule:: websockets.protocol
9
10 .. autoclass:: Protocol(side, state=State.OPEN, max_size=2 ** 20, logger=None)
11
12 .. automethod:: receive_data
13
14 .. automethod:: receive_eof
15
16 .. automethod:: send_continuation
17
18 .. automethod:: send_text
19
20 .. automethod:: send_binary
21
22 .. automethod:: send_close
23
24 .. automethod:: send_ping
25
26 .. automethod:: send_pong
27
28 .. automethod:: fail
29
30 .. automethod:: events_received
31
32 .. automethod:: data_to_send
33
34 .. automethod:: close_expected
35
36 .. autoattribute:: id
37
38 .. autoattribute:: logger
39
40 .. autoproperty:: state
41
42 .. autoproperty:: close_code
43
44 .. autoproperty:: close_reason
45
46 .. autoproperty:: close_exc
47
48 .. autoclass:: Side
49
50 .. autoattribute:: SERVER
51
52 .. autoattribute:: CLIENT
53
54 .. autoclass:: State
55
56 .. autoattribute:: CONNECTING
57
58 .. autoattribute:: OPEN
59
60 .. autoattribute:: CLOSING
61
62 .. autoattribute:: CLOSED
63
64 .. autodata:: SEND_EOF