MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / proxy_server

Function proxy_server

tests/test_proxy_functional.py:300–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298 return resp
299
300 async def proxy_server():
301 proxy_mock.request = None
302 proxy_mock.auth = None
303 proxy_mock.requests_list = []
304
305 server = await aiohttp_raw_server(proxy_handler)
306
307 proxy_mock.server = server
308 proxy_mock.url = server.make_url("/")
309
310 return proxy_mock
311
312 return proxy_server
313

Callers

nothing calls this directly

Calls 2

aiohttp_raw_serverFunction · 0.85
make_urlMethod · 0.45

Tested by

no test coverage detected