Index _ | A | B | C | D | E | F | G | H | I | L | M | N | O | P | Q | R | S | T | U | W _ __aiter__() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) __iter__() (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) A ABNORMAL_CLOSURE (websockets.frames.CloseCode attribute) AbortHandshake accept() (websockets.server.ServerProtocol method) B BAD_GATEWAY (websockets.frames.CloseCode attribute) basic_auth() (in module websockets.asyncio.server) (in module websockets.sync.server) basic_auth_protocol_factory() (in module websockets.legacy.auth) BasicAuthWebSocketServerProtocol (class in websockets.legacy.auth) BINARY (websockets.frames.Opcode attribute) body (websockets.exceptions.AbortHandshake attribute) (websockets.http11.Response attribute) broadcast() (in module websockets.asyncio.server) (in module websockets.legacy.server) C check_credentials() (websockets.legacy.auth.BasicAuthWebSocketServerProtocol method) CLIENT (websockets.protocol.Side attribute) ClientConnection (class in websockets.asyncio.client) (class in websockets.sync.client) ClientExtensionFactory (class in websockets.extensions) ClientPerMessageDeflateFactory (class in websockets.extensions.permessage_deflate) ClientProtocol (class in websockets.client) Close (class in websockets.frames) CLOSE (websockets.frames.Opcode attribute) close() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.Server method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServer method) (websockets.legacy.server.WebSocketServerProtocol method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) close_code (websockets.client.ClientProtocol property) (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) (websockets.protocol.Protocol property) (websockets.server.ServerProtocol property) close_exc (websockets.client.ClientProtocol property) (websockets.protocol.Protocol property) (websockets.server.ServerProtocol property) close_expected() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) close_reason (websockets.client.ClientProtocol property) (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) (websockets.protocol.Protocol property) (websockets.server.ServerProtocol property) CloseCode (class in websockets.frames) closed (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) CLOSED (websockets.protocol.State attribute) CLOSING (websockets.protocol.State attribute) code (websockets.frames.Close attribute) ConcurrencyError connect() (in module websockets.asyncio.client) (in module websockets.legacy.client) (in module websockets.sync.client) (websockets.client.ClientProtocol method) connect4 module Connect4 (class in connect4) connect4 (module) CONNECTING (websockets.protocol.State attribute) Connection (class in websockets.asyncio.connection) (class in websockets.sync.connection) ConnectionClosed ConnectionClosedError ConnectionClosedOK connections (websockets.asyncio.server.Server attribute) CONT (websockets.frames.Opcode attribute) createBoard() (built-in function) D Data (in module websockets.typing) data (websockets.frames.Frame attribute) data_to_send() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) decode() (websockets.extensions.Extension method) DuplicateParameter E encode() (websockets.extensions.Extension method) environment variable BACKOFF_FACTOR BACKOFF_INITIAL_DELAY BACKOFF_MAX_DELAY BACKOFF_MIN_DELAY WEBSOCKETS_MAX_BODY_SIZE, [1] WEBSOCKETS_MAX_LINE_LENGTH, [1] WEBSOCKETS_MAX_LOG_SIZE, [1] WEBSOCKETS_MAX_NUM_HEADERS, [1] WEBSOCKETS_MAX_REDIRECTS WEBSOCKETS_SERVER, [1] WEBSOCKETS_USER_AGENT, [1] Event (in module websockets.protocol) events_received() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) Extension (class in websockets.extensions) ExtensionName (in module websockets.typing) ExtensionParameter (in module websockets.typing) F fail() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) fileno() (websockets.sync.server.Server method) fin (websockets.frames.Frame attribute) Frame (class in websockets.frames) G get_all() (websockets.datastructures.Headers method) get_loop() (websockets.asyncio.server.Server method) (websockets.legacy.server.WebSocketServer method) get_request_params() (websockets.extensions.ClientExtensionFactory method) GOING_AWAY (websockets.frames.CloseCode attribute) H handshake_exc (websockets.client.ClientProtocol attribute) (websockets.server.ServerProtocol attribute) Headers (class in websockets.datastructures) headers (websockets.exceptions.AbortHandshake attribute) (websockets.http11.Request attribute) (websockets.http11.Response attribute) HeadersLike (in module websockets.datastructures) host (websockets.uri.WebSocketURI attribute) I id (websockets.asyncio.client.ClientConnection attribute) (websockets.asyncio.connection.Connection attribute) (websockets.asyncio.server.ServerConnection attribute) (websockets.client.ClientProtocol attribute) (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) (websockets.protocol.Protocol attribute) (websockets.server.ServerProtocol attribute) (websockets.sync.client.ClientConnection attribute) (websockets.sync.connection.Connection attribute) (websockets.sync.server.ServerConnection attribute) INTERNAL_ERROR (websockets.frames.CloseCode attribute) INVALID_DATA (websockets.frames.CloseCode attribute) InvalidHandshake InvalidHeader InvalidHeaderFormat InvalidHeaderValue InvalidMessage InvalidOrigin InvalidParameterName InvalidParameterValue InvalidState InvalidStatus InvalidStatusCode InvalidUpgrade InvalidURI is_serving() (websockets.asyncio.server.Server method) (websockets.legacy.server.WebSocketServer method) L latency (websockets.asyncio.client.ClientConnection attribute) (websockets.asyncio.connection.Connection attribute) (websockets.asyncio.server.ServerConnection attribute) (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) local_address (websockets.asyncio.client.ClientConnection property) (websockets.asyncio.connection.Connection property) (websockets.asyncio.server.ServerConnection property) (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) (websockets.sync.client.ClientConnection property) (websockets.sync.connection.Connection property) (websockets.sync.server.ServerConnection property) logger (websockets.asyncio.client.ClientConnection attribute) (websockets.asyncio.connection.Connection attribute) (websockets.asyncio.server.ServerConnection attribute) (websockets.client.ClientProtocol attribute) (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) (websockets.protocol.Protocol attribute) (websockets.server.ServerProtocol attribute) (websockets.sync.client.ClientConnection attribute) (websockets.sync.connection.Connection attribute) (websockets.sync.server.ServerConnection attribute) LoggerLike (in module websockets.typing) M MANDATORY_EXTENSION (websockets.frames.CloseCode attribute) MESSAGE_TOO_BIG (websockets.frames.CloseCode attribute) module connect4 websockets.asyncio.client websockets.asyncio.connection websockets.asyncio.server websockets.datastructures websockets.exceptions websockets.extensions websockets.extensions.permessage_deflate websockets.frames websockets.http11 websockets.legacy.auth websockets.legacy.client websockets.legacy.protocol websockets.legacy.server websockets.protocol websockets.sync.client websockets.sync.connection websockets.sync.server websockets.typing websockets.uri moves (connect4.Connect4 attribute) MultipleValuesError N name (websockets.extensions.ClientExtensionFactory attribute) (websockets.extensions.Extension attribute) NegotiationError NO_STATUS_RCVD (websockets.frames.CloseCode attribute) NORMAL_CLOSURE (websockets.frames.CloseCode attribute) O Opcode (class in websockets.frames) opcode (websockets.frames.Frame attribute) open (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) OPEN (websockets.protocol.State attribute) Origin (in module websockets.typing) P parse_uri() (in module websockets.uri) password (websockets.uri.WebSocketURI attribute) path (websockets.http11.Request attribute) (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) (websockets.uri.WebSocketURI attribute) PayloadTooBig PING (websockets.frames.Opcode attribute) ping() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServerProtocol method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) play() (connect4.Connect4 method) PLAYER1 (global variable or constant) (in module connect4) PLAYER2 (global variable or constant) (in module connect4) playMove() (built-in function) POLICY_VIOLATION (websockets.frames.CloseCode attribute) PONG (websockets.frames.Opcode attribute) pong() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServerProtocol method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) port (websockets.uri.WebSocketURI attribute) process_exception() (in module websockets.asyncio.client) process_request() (websockets.legacy.server.WebSocketServerProtocol method) process_request_params() (websockets.extensions.ServerExtensionFactory method) process_response_params() (websockets.extensions.ClientExtensionFactory method) Protocol (class in websockets.protocol) PROTOCOL_ERROR (websockets.frames.CloseCode attribute) ProtocolError Python Enhancement Proposals PEP 484 PEP 654, [1] Q query (websockets.uri.WebSocketURI attribute) R raw_items() (websockets.datastructures.Headers method) rcvd (websockets.exceptions.ConnectionClosed attribute) rcvd_then_sent (websockets.exceptions.ConnectionClosed attribute) realm (websockets.legacy.auth.BasicAuthWebSocketServerProtocol attribute) reason (websockets.frames.Close attribute) reason_phrase (websockets.http11.Response attribute) receive_data() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) receive_eof() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) recv() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServerProtocol method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) recv_streaming() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) RedirectHandshake reject() (websockets.server.ServerProtocol method) remote_address (websockets.asyncio.client.ClientConnection property) (websockets.asyncio.connection.Connection property) (websockets.asyncio.server.ServerConnection property) (websockets.legacy.client.WebSocketClientProtocol property) (websockets.legacy.protocol.WebSocketCommonProtocol property) (websockets.legacy.server.WebSocketServerProtocol property) (websockets.sync.client.ClientConnection property) (websockets.sync.connection.Connection property) (websockets.sync.server.ServerConnection property) Request (class in websockets.http11) request (websockets.asyncio.client.ClientConnection attribute) (websockets.asyncio.connection.Connection attribute) (websockets.asyncio.server.ServerConnection attribute) (websockets.sync.client.ClientConnection attribute) (websockets.sync.connection.Connection attribute) (websockets.sync.server.ServerConnection attribute) request_headers (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) respond() (websockets.asyncio.server.ServerConnection method) (websockets.sync.server.ServerConnection method) Response (class in websockets.http11) response (websockets.asyncio.client.ClientConnection attribute) (websockets.asyncio.connection.Connection attribute) (websockets.asyncio.server.ServerConnection attribute) (websockets.sync.client.ClientConnection attribute) (websockets.sync.connection.Connection attribute) (websockets.sync.server.ServerConnection attribute) response_headers (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) RFC RFC 6455, [1], [2], [3], [4], [5], [6], [7], [8] RFC 6750 RFC 7235, [1], [2], [3], [4], [5] RFC 7617, [1], [2], [3] RFC 7692, [1], [2] rsv1 (websockets.frames.Frame attribute) rsv2 (websockets.frames.Frame attribute) rsv3 (websockets.frames.Frame attribute) S secure (websockets.uri.WebSocketURI attribute) SecurityError select_subprotocol() (websockets.legacy.server.WebSocketServerProtocol method) (websockets.server.ServerProtocol method) send() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServerProtocol method) (websockets.sync.client.ClientConnection method) (websockets.sync.connection.Connection method) (websockets.sync.server.ServerConnection method) send_binary() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) send_close() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) send_continuation() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) SEND_EOF (in module websockets.protocol) send_ping() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) send_pong() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) send_request() (websockets.client.ClientProtocol method) send_response() (websockets.server.ServerProtocol method) send_text() (websockets.client.ClientProtocol method) (websockets.protocol.Protocol method) (websockets.server.ServerProtocol method) sent (websockets.exceptions.ConnectionClosed attribute) serve() (in module websockets.asyncio.server) (in module websockets.legacy.server) (in module websockets.sync.server) serve_forever() (websockets.asyncio.server.Server method) (websockets.legacy.server.WebSocketServer method) (websockets.sync.server.Server method) Server (class in websockets.asyncio.server) (class in websockets.sync.server) SERVER (websockets.protocol.Side attribute) ServerConnection (class in websockets.asyncio.server) (class in websockets.sync.server) ServerExtensionFactory (class in websockets.extensions) ServerPerMessageDeflateFactory (class in websockets.extensions.permessage_deflate) ServerProtocol (class in websockets.server) SERVICE_RESTART (websockets.frames.CloseCode attribute) shutdown() (websockets.sync.server.Server method) Side (class in websockets.protocol) sockets (websockets.asyncio.server.Server attribute) (websockets.legacy.server.WebSocketServer attribute) start_serving() (websockets.asyncio.server.Server method) (websockets.legacy.server.WebSocketServer method) State (class in websockets.protocol) state (websockets.asyncio.client.ClientConnection property) (websockets.asyncio.connection.Connection property) (websockets.asyncio.server.ServerConnection property) (websockets.client.ClientProtocol property) (websockets.protocol.Protocol property) (websockets.server.ServerProtocol property) status (websockets.exceptions.AbortHandshake attribute) status_code (websockets.http11.Response attribute) StatusLike (in module websockets.typing) Subprotocol (in module websockets.typing) subprotocol (websockets.asyncio.client.ClientConnection property) (websockets.asyncio.connection.Connection property) (websockets.asyncio.server.ServerConnection property) (websockets.legacy.client.WebSocketClientProtocol attribute) (websockets.legacy.protocol.WebSocketCommonProtocol attribute) (websockets.legacy.server.WebSocketServerProtocol attribute) (websockets.sync.client.ClientConnection property) (websockets.sync.connection.Connection property) (websockets.sync.server.ServerConnection property) SupportsKeysAndGetItem (in module websockets.datastructures) T TEXT (websockets.frames.Opcode attribute) TLS_HANDSHAKE (websockets.frames.CloseCode attribute) TRY_AGAIN_LATER (websockets.frames.CloseCode attribute) U unix_connect() (in module websockets.asyncio.client) (in module websockets.legacy.client) (in module websockets.sync.client) unix_serve() (in module websockets.asyncio.server) (in module websockets.legacy.server) (in module websockets.sync.server) UNSUPPORTED_DATA (websockets.frames.CloseCode attribute) username (websockets.legacy.auth.BasicAuthWebSocketServerProtocol attribute) (websockets.uri.WebSocketURI attribute) W wait_closed() (websockets.asyncio.client.ClientConnection method) (websockets.asyncio.connection.Connection method) (websockets.asyncio.server.Server method) (websockets.asyncio.server.ServerConnection method) (websockets.legacy.client.WebSocketClientProtocol method) (websockets.legacy.protocol.WebSocketCommonProtocol method) (websockets.legacy.server.WebSocketServer method) (websockets.legacy.server.WebSocketServerProtocol method) WebSocketClientProtocol (class in websockets.legacy.client) WebSocketCommonProtocol (class in websockets.legacy.protocol) WebSocketException websockets.asyncio.client module websockets.asyncio.connection module websockets.asyncio.server module websockets.datastructures module websockets.exceptions module websockets.extensions module websockets.extensions.permessage_deflate module websockets.frames module websockets.http11 module websockets.legacy.auth module websockets.legacy.client module websockets.legacy.protocol module websockets.legacy.server module websockets.protocol module websockets.sync.client module websockets.sync.connection module websockets.sync.server module websockets.typing module websockets.uri module WEBSOCKETS_MAX_BODY_SIZE WEBSOCKETS_MAX_LINE_LENGTH WEBSOCKETS_MAX_LOG_SIZE WEBSOCKETS_MAX_NUM_HEADERS WEBSOCKETS_SERVER WEBSOCKETS_USER_AGENT WebSocketServer (class in websockets.legacy.server) WebSocketServerProtocol (class in websockets.legacy.server) WebSocketURI (class in websockets.uri) winner (connect4.Connect4 attribute)