Package cherrypy :: Package process :: Module servers
[hide private]
[frames] | no frames]

Module servers

source code

Adapt an HTTP server.

Classes [hide private]
  ServerAdapter
Adapter for an HTTP server.
  FlupFCGIServer
Adapter for a flup.server.fcgi.WSGIServer.
  FlupSCGIServer
Adapter for a flup.server.scgi.WSGIServer.
Functions [hide private]
 
client_host(server_host)
Return the host on which a client can connect to the given listener.
source code
 
check_port(host, port, timeout=1.0)
Raise an error if the given port is not free on the given host.
source code
 
wait_for_free_port(host, port)
Wait for the specified port to become free (drop requests).
source code
 
wait_for_occupied_port(host, port)
Wait for the specified port to become active (receive requests).
source code