MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / run

Method run

thirdparty/bottle/bottle.py:3850–3868  ·  view source on GitHub ↗
(self, handler)

Source from the content-addressed store, hash-verified

3848 """ Untested. See http://gunicorn.org/configure.html for options. """
3849
3850 def run(self, handler):
3851 from gunicorn.app.base import BaseApplication
3852
3853 if self.host.startswith("unix:"):
3854 config = {'bind': self.host}
3855 else:
3856 config = {'bind': "%s:%d" % (self.host, self.port)}
3857
3858 config.update(self.options)
3859
3860 class GunicornApplication(BaseApplication):
3861 def load_config(self):
3862 for key, value in config.items():
3863 self.cfg.set(key, value)
3864
3865 def load(self):
3866 return handler
3867
3868 GunicornApplication().run()
3869
3870
3871class EventletServer(ServerAdapter):

Callers

nothing calls this directly

Calls 3

GunicornApplicationClass · 0.85
updateMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected