예제 #1
0
 def diesel(app, address, **options):
     from diesel.protocols.wsgi import WSGIApplication
     app = WSGIApplication(app, port=address[1])
     app.run()
예제 #2
0
파일: server.py 프로젝트: perryhau/Mole
 def run(self, handler):
     from diesel.protocols.wsgi import WSGIApplication
     app = WSGIApplication(handler, port=self.port)
     app.run()
예제 #3
0
파일: itty.py 프로젝트: FacundoM/itty
def diesel_adapter(host, port):
    # Experimental (Mostly untested).
    from diesel.protocols.wsgi import WSGIApplication
    app = WSGIApplication(handle_request, port=int(port))
    app.run()
예제 #4
0
 def diesel(app, address, **options):
     from diesel.protocols.wsgi import WSGIApplication
     app = WSGIApplication(app, port=address[1])
     app.run()
예제 #5
0
파일: server.py 프로젝트: toohamster/YouMd
 def run(self, handler):
     from diesel.protocols.wsgi import WSGIApplication
     app = WSGIApplication(handler, port=self.port)
     app.run()
예제 #6
0
def diesel_adapter(host, port):
    # Experimental (Mostly untested).
    from diesel.protocols.wsgi import WSGIApplication
    app = WSGIApplication(handle_request, port=int(port))
    app.run()