Logo Search packages:      
Sourcecode: sabnzbdplus version File versions

cherrypy::_cpwsgiserver::CherryPyWSGIServer Class Reference

Inheritance diagram for cherrypy::_cpwsgiserver::CherryPyWSGIServer:


List of all members.

Detailed Description

An HTTP server for WSGI.

bind_addr: a (host, port) tuple if TCP sockets are desired;
    for UNIX sockets, supply the filename as a string.
wsgi_app: the WSGI 'application callable'; multiple WSGI applications
    may be passed as (script_name, callable) pairs.
numthreads: the number of worker threads to create (default 10).
server_name: the string to set for WSGI's SERVER_NAME environ entry.
    Defaults to socket.gethostname().
max: the maximum number of queued requests (defaults to -1 = no limit).
request_queue_size: the 'backlog' argument to socket.listen();
    specifies the maximum number of queued connections (default 5).
timeout: the timeout in seconds for accepted connections (default 10).

Definition at line 258 of file _cpwsgiserver.py.

Public Member Functions

def __init__
def start
def stop
def tick

Public Attributes


Static Public Attributes

 interrupt = None
string protocol = "HTTP/1.0"
 ready = False
 RequestHandlerClass = HTTPRequest
string version = "CherryPy/2.3.0"

Private Attributes


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

Generated by  Doxygen 1.6.0   Back to index