websockets 16.0
Version history | Download JSON
-
PyPI https://pypi.org/project/websockets/ Repository https://github.com/python-websockets/websockets -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 862 "Any" : 23 "Untyped" : 121 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 190 "classes" : 643 "other" : 2- 50 functions (+0 overloads)
- 140 parameters
- 73 classes
- 249 methods (+16 overloads)
- 370 parameters
- 23 properties
- 249 methods (+16 overloads)
- 40 modules
- 2 attrs
- 50 functions (+0 overloads)
Modules
Incomplete Annotations
websockets.asyncio.client (9 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
unix_connect |
4 | 4 | 1 |
meth |
connect.init |
20 | 20 | 1 |
attr |
connect.uri |
1 | 0 | 0 |
attr |
connect.proxy |
1 | 0 | 0 |
attr |
connect.protocol_factory |
1 | 0 | 0 |
attr |
connect.additional_headers |
1 | 0 | 0 |
attr |
connect.user_agent_header |
1 | 0 | 0 |
attr |
connect.process_exception |
1 | 0 | 0 |
attr |
connect.open_timeout |
1 | 0 | 0 |
attr |
connect.logger |
1 | 0 | 0 |
attr |
connect.connection_kwargs |
1 | 0 | 0 |
websockets.asyncio.messages (5 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Assembler.pause |
1 | 0 | 0 |
attr |
Assembler.resume |
1 | 0 | 0 |
attr |
Assembler.paused |
1 | 0 | 0 |
attr |
Assembler.get_in_progress |
1 | 0 | 0 |
attr |
Assembler.closed |
1 | 0 | 0 |
websockets.asyncio.router (3 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
unix_route |
4 | 4 | 1 |
func |
route |
7 | 7 | 2 |
attr |
Router.url_map |
1 | 0 | 0 |
attr |
Router.server_name |
1 | 0 | 0 |
attr |
Router.url_scheme |
1 | 0 | 0 |
websockets.asyncio.server (10 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
serve.init |
22 | 22 | 1 |
attr |
serve.server |
1 | 0 | 0 |
attr |
serve.create_server |
1 | 0 | 0 |
func |
unix_serve |
4 | 4 | 1 |
attr |
ServerConnection.server |
1 | 0 | 0 |
attr |
Server.loop |
1 | 0 | 0 |
attr |
Server.handler |
1 | 0 | 0 |
attr |
Server.process_request |
1 | 0 | 0 |
attr |
Server.process_response |
1 | 0 | 0 |
attr |
Server.server_header |
1 | 0 | 0 |
attr |
Server.open_timeout |
1 | 0 | 0 |
attr |
Server.logger |
1 | 0 | 0 |
websockets.datastructures (0 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Headers.eq |
2 | 2 | 1 |
websockets.exceptions (15 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
InvalidProxy.proxy |
1 | 0 | 0 |
attr |
InvalidProxy.msg |
1 | 0 | 0 |
attr |
InvalidHeader.name |
1 | 0 | 0 |
attr |
InvalidHeader.value |
1 | 0 | 0 |
attr |
InvalidStatus.response |
1 | 0 | 0 |
attr |
InvalidProxyStatus.response |
1 | 0 | 0 |
attr |
InvalidParameterValue.name |
1 | 0 | 0 |
attr |
InvalidParameterValue.value |
1 | 0 | 0 |
attr |
InvalidURI.uri |
1 | 0 | 0 |
attr |
InvalidURI.msg |
1 | 0 | 0 |
attr |
DuplicateParameter.name |
1 | 0 | 0 |
attr |
InvalidParameterName.name |
1 | 0 | 0 |
attr |
ConnectionClosed.rcvd |
1 | 0 | 0 |
attr |
ConnectionClosed.sent |
1 | 0 | 0 |
attr |
ConnectionClosed.rcvd_then_sent |
1 | 0 | 0 |
websockets.extensions.permessage_deflate (22 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
PerMessageDeflate.name |
1 | 0 | 0 |
attr |
PerMessageDeflate.remote_no_context_takeover |
1 | 0 | 0 |
attr |
PerMessageDeflate.local_no_context_takeover |
1 | 0 | 0 |
attr |
PerMessageDeflate.remote_max_window_bits |
1 | 0 | 0 |
attr |
PerMessageDeflate.local_max_window_bits |
1 | 0 | 0 |
attr |
PerMessageDeflate.compress_settings |
1 | 0 | 0 |
attr |
PerMessageDeflate.decode_cont_data |
1 | 0 | 0 |
attr |
PerMessageDeflate.decoder |
1 | 0 | 0 |
attr |
PerMessageDeflate.encoder |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.name |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.server_no_context_takeover |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.client_no_context_takeover |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.server_max_window_bits |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.client_max_window_bits |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.compress_settings |
1 | 0 | 0 |
attr |
ServerPerMessageDeflateFactory.require_client_max_window_bits |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.name |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.server_no_context_takeover |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.client_no_context_takeover |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.server_max_window_bits |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.client_max_window_bits |
1 | 0 | 0 |
attr |
ClientPerMessageDeflateFactory.compress_settings |
1 | 0 | 0 |
websockets.frames (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Frame.MAX_LOG_SIZE |
1 | 0 | 0 |
websockets.http11 (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
SERVER |
1 | 0 | 0 |
attr |
USER_AGENT |
1 | 0 | 0 |
websockets.legacy.auth (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
BasicAuthWebSocketServerProtocol.init |
5 | 5 | 2 |
websockets.legacy.client (5 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
WebSocketClientProtocol.init |
8 | 8 | 1 |
attr |
WebSocketClientProtocol.origin |
1 | 0 | 0 |
attr |
WebSocketClientProtocol.available_extensions |
1 | 0 | 0 |
attr |
WebSocketClientProtocol.available_subprotocols |
1 | 0 | 0 |
attr |
WebSocketClientProtocol.extra_headers |
1 | 0 | 0 |
attr |
WebSocketClientProtocol.user_agent_header |
1 | 0 | 0 |
func |
unix_connect |
4 | 4 | 1 |
websockets.legacy.exceptions (6 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
AbortHandshake.status |
1 | 0 | 0 |
attr |
AbortHandshake.headers |
1 | 0 | 0 |
attr |
AbortHandshake.body |
1 | 0 | 0 |
attr |
InvalidStatusCode.status_code |
1 | 0 | 0 |
attr |
InvalidStatusCode.headers |
1 | 0 | 0 |
attr |
RedirectHandshake.uri |
1 | 0 | 0 |
websockets.legacy.server (9 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
WebSocketServer.logger |
1 | 0 | 0 |
meth |
WebSocketServerProtocol.init |
13 | 13 | 1 |
attr |
WebSocketServerProtocol.ws_handler |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.ws_server |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.origins |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.available_extensions |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.available_subprotocols |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.extra_headers |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.server_header |
1 | 0 | 0 |
attr |
WebSocketServerProtocol.open_timeout |
1 | 0 | 0 |
func |
unix_serve |
4 | 4 | 1 |
websockets.protocol (7 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Protocol.debug |
1 | 0 | 0 |
attr |
Protocol.side |
1 | 0 | 0 |
attr |
Protocol.state |
1 | 0 | 0 |
attr |
Protocol.expect_continuation_frame |
1 | 0 | 0 |
attr |
Protocol.eof_sent |
1 | 0 | 0 |
attr |
Protocol.reader |
1 | 0 | 0 |
attr |
Protocol.parser |
1 | 0 | 0 |
websockets.streams (2 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
StreamReader.buffer |
1 | 0 | 0 |
attr |
StreamReader.eof |
1 | 0 | 0 |
websockets.sync.client (1 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
connect |
23 | 23 | 1 |
attr |
ClientConnection.response_rcvd |
1 | 0 | 0 |
func |
unix_connect |
4 | 4 | 1 |
websockets.sync.connection (11 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
prop |
Connection.local_address |
1 | 1 | 1 |
prop |
Connection.remote_address |
1 | 1 | 1 |
attr |
Connection.socket |
1 | 0 | 0 |
attr |
Connection.protocol |
1 | 0 | 0 |
attr |
Connection.ping_interval |
1 | 0 | 0 |
attr |
Connection.ping_timeout |
1 | 0 | 0 |
attr |
Connection.close_timeout |
1 | 0 | 0 |
attr |
Connection.debug |
1 | 0 | 0 |
attr |
Connection.protocol_mutex |
1 | 0 | 0 |
attr |
Connection.recv_flow_control |
1 | 0 | 0 |
attr |
Connection.recv_messages |
1 | 0 | 0 |
attr |
Connection.send_in_progress |
1 | 0 | 0 |
attr |
Connection.recv_events_thread |
1 | 0 | 0 |
websockets.sync.messages (6 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
Assembler.mutex |
1 | 0 | 0 |
attr |
Assembler.pause |
1 | 0 | 0 |
attr |
Assembler.resume |
1 | 0 | 0 |
attr |
Assembler.paused |
1 | 0 | 0 |
attr |
Assembler.get_in_progress |
1 | 0 | 0 |
attr |
Assembler.closed |
1 | 0 | 0 |
websockets.sync.router (3 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
route |
7 | 7 | 2 |
attr |
Router.url_map |
1 | 0 | 0 |
attr |
Router.server_name |
1 | 0 | 0 |
attr |
Router.url_scheme |
1 | 0 | 0 |
func |
unix_route |
4 | 4 | 1 |
websockets.sync.server (4 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
ServerConnection.request_rcvd |
1 | 0 | 0 |
attr |
Server.socket |
1 | 0 | 0 |
attr |
Server.handler |
1 | 0 | 0 |
attr |
Server.logger |
1 | 0 | 0 |
func |
serve |
23 | 23 | 1 |
func |
unix_serve |
4 | 4 | 1 |
Type-Ignore Comments
No type-ignore comments.