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

Method run

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

Source from the content-addressed store, hash-verified

3921 return asyncio.new_event_loop()
3922
3923 def run(self, handler):
3924 import asyncio
3925 from aiohttp_wsgi.wsgi import serve
3926 self.loop = self.get_event_loop()
3927 asyncio.set_event_loop(self.loop)
3928
3929 if 'BOTTLE_CHILD' in os.environ:
3930 import signal
3931 signal.signal(signal.SIGINT, lambda s, f: self.loop.stop())
3932
3933 serve(handler, host=self.host, port=self.port)
3934
3935
3936class AiohttpUVLoopServer(AiohttpServer):

Callers

nothing calls this directly

Calls 2

get_event_loopMethod · 0.95
stopMethod · 0.80

Tested by

no test coverage detected