Name Description Size
__init__.py 6145
_stream_exceptions.py Stream Exceptions. 2916
common.py This file must not depend on any module specific to the WebSocket protocol. 9342
dispatch.py Dispatch WebSocket request. 15102
extensions.py Return parsed integer value iff the given string conforms to the grammar of the window bits extension parameters. 18109
fast_masking.i 3312
handshake
http_header_util.py Utilities for parsing and formatting headers that follow the grammar defined in HTTP RFC http://www.ietf.org/rfc/rfc2616.txt. 7028
memorizingfile.py Memorizing file. A memorizing file wraps a file and memorizes lines read by readline. 3937
msgutil.py Message related utilities. Note: request.connection.write/read are used in this module, even though mod_python document says that they should be used only in connection handlers. Unfortunately, we have no other options. For example, request.write/read are not suitable because they don't allow direct raw bytes writing/reading. 7692
request_handler.py Request Handler and Request/Connection classes for standalone server. 12195
server_util.py Server related utilities. 3380
standalone.py 18871
stream.py This file provides classes and helper functions for parsing/building frames of the WebSocket protocol (RFC 6455). Specification: http://tools.ietf.org/html/rfc6455 35191
util.py WebSocket utilities. 13653
websocket_server.py Standalone WebsocketServer This file deals with the main module of standalone server. Although it is fine to import this file directly to use WebSocketServer, it is strongly recommended to use standalone.py, since it is intended to act as a skeleton of this module. 11783