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

Classes

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

Functions

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

Variables

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