:tocdepth: 3 :py:mod:`gws.base.web.manager` ============================== .. py:module:: gws.base.web.manager **Source code:** :source:`gws.base.web.manager` Module Contents --------------- .. py:class:: Config(*args, **kwargs) Bases: :py:obj:`gws.Config` Web server configuration .. py:attribute:: sites :type: Optional[list[gws.base.web.site.Config]] Configured sites. .. py:attribute:: ssl :type: Optional[gws.base.web.site.SSLConfig] SSL configuration. .. py:class:: Object Bases: :py:obj:`gws.WebManager` Web manager. .. py:method:: configure() Configuration hook. .. py:method:: enter_middleware(req: gws.WebRequester) Begin middleware processing. :param req: Requester object. :returns: A Responder object or ``None``. .. py:method:: exit_middleware(req: gws.WebRequester, res: gws.WebResponder) Finish middleware processing. :param req: Requester object. :param res: Current responder object. .. py:method:: site_from_environ(environ) Returns a site object for the given request environment. :param environ: WSGI environment. :returns: A Site object.