python-websocketd
Python module for creating a http server which uses WebSockets.
|
Http server which serves websockets that implement RPC. More...
Classes | |
class | _Broadcast |
Public Attributes | |
broadcast | |
Function to send an event to some or all connected clients. More... | |
![]() | |
recv | |
Communication object for new websockets. More... | |
httpdirs | |
Sequence of directories that that are searched to serve. More... | |
exts | |
Extensions which are handled from httpdirs. More... | |
websockets | |
Currently connected websocket connections. More... | |
server | |
network.Server object. More... | |
Additional Inherited Members | |
![]() | |
def | handle_ext (self, ext, mime) |
Add file extension to handle successfully. More... | |
def | authenticate (self, connection) |
Handle user authentication. More... | |
def | reply (self, connection, code, message=None, content_type=None, headers=None, close=False) |
Reply to a request for a document. More... | |
def | page (self, connection, path=None) |
Serve a non-websocket page. More... | |
def | post (self, connection) |
Handle POST request. More... | |
![]() | |
auth_message = None | |
Authentication message. More... | |
Http server which serves websockets that implement RPC.
Definition at line 1301 of file websocketd.py.