web_runner

Module Contents

Classes

GracefulExit()
BaseSite(self,runner)
TCPSite(self,runner,host=None,port=None)
UnixSite(self,runner,path)
SockSite(self,runner,sock)
BaseRunner(self,**kwargs)
ServerRunner(self,web_server,**kwargs) Low-level web server runner
AppRunner(self,app,**kwargs) Web Application runner

Functions

_raise_graceful_exit()
class GracefulExit
_raise_graceful_exit()
class BaseSite(runner)
__init__(runner)
name()
start()
stop()
class TCPSite(runner, host=None, port=None)
__init__(runner, host=None, port=None)
name()
start()
class UnixSite(runner, path)
__init__(runner, path)
name()
start()
class SockSite(runner, sock)
__init__(runner, sock)
name()
start()
class BaseRunner(**kwargs)
__init__(**kwargs)
server()
addresses()
sites()
setup()
shutdown()
cleanup()
_make_server()
_cleanup_server()
_reg_site(site)
_check_site(site)
_unreg_site(site)
class ServerRunner(web_server, **kwargs)

Low-level web server runner

__init__(web_server, **kwargs)
shutdown()
_make_server()
_cleanup_server()
class AppRunner(app, **kwargs)

Web Application runner

__init__(app, **kwargs)
app()
shutdown()
_make_server()
_cleanup_server()