Debian Codegraph @

docs/reference/datastructures.rst

raw
1 Data structures
2 ===============
3
4 WebSocket events
5 ----------------
6
7 .. automodule:: websockets.frames
8
9 .. autoclass:: Frame
10
11 .. autoclass:: Opcode
12
13 .. autoattribute:: CONT
14 .. autoattribute:: TEXT
15 .. autoattribute:: BINARY
16 .. autoattribute:: CLOSE
17 .. autoattribute:: PING
18 .. autoattribute:: PONG
19
20 .. autoclass:: Close
21
22 .. autoclass:: CloseCode
23
24 .. autoattribute:: NORMAL_CLOSURE
25 .. autoattribute:: GOING_AWAY
26 .. autoattribute:: PROTOCOL_ERROR
27 .. autoattribute:: UNSUPPORTED_DATA
28 .. autoattribute:: NO_STATUS_RCVD
29 .. autoattribute:: ABNORMAL_CLOSURE
30 .. autoattribute:: INVALID_DATA
31 .. autoattribute:: POLICY_VIOLATION
32 .. autoattribute:: MESSAGE_TOO_BIG
33 .. autoattribute:: MANDATORY_EXTENSION
34 .. autoattribute:: INTERNAL_ERROR
35 .. autoattribute:: SERVICE_RESTART
36 .. autoattribute:: TRY_AGAIN_LATER
37 .. autoattribute:: BAD_GATEWAY
38 .. autoattribute:: TLS_HANDSHAKE
39
40 HTTP events
41 -----------
42
43 .. automodule:: websockets.http11
44
45 .. autoclass:: Request
46
47 .. autoclass:: Response
48
49 .. automodule:: websockets.datastructures
50
51 .. autoclass:: Headers
52
53 .. automethod:: get_all
54
55 .. automethod:: raw_items
56
57 .. autoexception:: MultipleValuesError
58
59 URIs
60 ----
61
62 .. automodule:: websockets.uri
63
64 .. autofunction:: parse_uri
65
66 .. autoclass:: WebSocketURI