Ejemplo n.º 1
0
 def __init__(self, wsgi_callable, port=80, iface=''):
     Application.__init__(self)
     self.port = port
     self.wsgi_callable = wsgi_callable
     http_service = Service(
         HttpServer(WSGIRequestHandler(wsgi_callable, port)), port, iface)
     self.add_service(http_service)
Ejemplo n.º 2
0
 def __init__(self, wsgi_callable, port=80, iface=''):
     Application.__init__(self)
     self.port = port
     self.wsgi_callable = wsgi_callable
     http_service = Service(HttpServer(WSGIRequestHandler(wsgi_callable, port)), port, iface)
     self.add_service(http_service)