Here are the examples of the python api web.httpserver.runsimple taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
Example 1
def run(self, port=3030, *middleware):
func = self.wsgifunc(*middleware)
return web.httpserver.runsimple(func, ('127.0.0.1', port))
0
Example 2
def run(port=8080, address='0.0.0.0'):
a_p = (address, port)
threading.Thread(target=web.httpserver.runsimple,
args=(app.wsgifunc(), a_p)).start()
0
Example 3
def run(self, port=12010, *middleware):
func = self.wsgifunc(*middleware)
return web.httpserver.runsimple(func, ('0.0.0.0', port))