python-websocketd
Python module for creating a http server which uses WebSockets.
Classes | Public Attributes | List of all members
websocketd.RPChttpd Class Reference

Http server which serves websockets that implement RPC. More...

Inheritance diagram for websocketd.RPChttpd:
Inheritance graph
[legend]
Collaboration diagram for websocketd.RPChttpd:
Collaboration graph
[legend]

Classes

class  _Broadcast
 

Public Attributes

 broadcast
 Function to send an event to some or all connected clients. More...
 
- Public Attributes inherited from websocketd.Httpd
 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

- Public Member Functions inherited from websocketd.Httpd
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...
 
- Static Public Attributes inherited from websocketd.Httpd
 auth_message = None
 Authentication message. More...
 

Detailed Description

Http server which serves websockets that implement RPC.

Definition at line 1301 of file websocketd.py.


The documentation for this class was generated from the following file: