MCPcopy
hub / github.com/aio-libs/aiohttp / create_server

Method create_server

tests/test_web_functional.py:809–815  ·  view source on GitHub ↗
(self, method, path, ssl_ctx=None)

Source from the content-addressed store, hash-verified

807
808 @asyncio.coroutine
809 def create_server(self, method, path, ssl_ctx=None):
810 app, srv, url = yield from super().create_server(
811 method, path, ssl_ctx=ssl_ctx
812 )
813 app.router.add_static = self.patch_sendfile(app.router.add_static)
814
815 return app, srv, url
816
817 def test_static_file(self):
818

Callers 15

goMethod · 0.95
initFunction · 0.45
run_appFunction · 0.45
runFunction · 0.45
_runMethod · 0.45
goMethod · 0.45
create_serverMethod · 0.45
goMethod · 0.45
createFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
initFunction · 0.45

Calls 1

patch_sendfileMethod · 0.45

Tested by

no test coverage detected