python-websocketd
Python module for creating a http server which uses WebSockets.
Classes | Namespaces | Functions | Variables
websocketd.py File Reference

Go to the source code of this file.

Classes

class  websocketd.Websocket
 Main class implementing the websocket protocol. More...
 
class  websocketd.RPC
 Remote Procedure Call over Websocket. More...
 
class  websocketd.Httpd
 HTTP server. More...
 
class  websocketd.RPChttpd
 Http server which serves websockets that implement RPC. More...
 

Namespaces

 websocketd
 

Functions

def websocketd.call (reply, target, *a, **ka)
 Make a call to a function or generator. More...
 
def websocketd.fgloop (*a, **ka)
 Activate all websockets and start the main loop. More...
 
def websocketd.bgloop (*a, **ka)
 Activate all websockets and start the main loop in the background. More...
 
def websocketd.iteration (*a, **ka)
 Activate all websockets and run one loop iteration. More...
 

Variables

int websocketd.DEBUG = 0 if os.getenv('NODEBUG') else int(os.getenv('DEBUG', 1))
 Debug level, set from DEBUG environment variable. More...