Groups¶
SuPPort’s central pillar is the Group
, a group of servers,
web or otherwise, hosted within a given process group.
Defines a Group class for running and managing servers, as well as a set of base server types.
The following information is needed to start a server: 1- handler / wsgi app 2- address 3- ssl preference
-
class
support.group.
Group
(wsgi_apps=(), stream_handlers=(), custom_servers=(), prefork=None, daemonize=None, **kw)[source]¶
-
class
support.group.
MakeFileCloseWSGIHandler
(socket, address, server, rfile=None)[source]¶ quick work-around to re-enable gevent’s work-around of the makefile() call in the pywsgi handler keeping sockets alive past their shelf life
-
class
support.group.
MultiProtocolWSGIServer
(listener, application=None, backlog=None, spawn='default', log='default', handler_class=None, environ=None, **ssl_args)[source]¶
-
class
support.group.
SockConsole
(sock)[source]¶
-
class
support.group.
SslContextWSGIServer
(listener, application=None, backlog=None, spawn='default', log='default', handler_class=None, environ=None, **ssl_args)[source]¶ -
handler_class
¶ alias of
MakeFileCloseWSGIHandler
-
-
class
support.group.
ThreadQueueServer
(listener, handle=None, backlog=None, spawn='default', **ssl_args)[source]¶
-
class
support.group.
ThreadQueueWSGIServer
(listener, application=None, backlog=None, spawn='default', log='default', handler_class=None, environ=None, **ssl_args)[source]¶