MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / start_test_server

Function start_test_server

test/10.aiohttp_multiple_session_impliment.py:49–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48
49def start_test_server():
50 pywebio.enable_debug()
51
52 app = web.Application()
53 app.add_routes([web.get('/io', webio_handler(target, cdn=False))])
54 app.add_routes([web.get('/io2', webio_handler(async_target, cdn=False))])
55 app.add_routes(static_routes())
56
57 web.run_app(app, host='127.0.0.1', port=8080)
58
59
60if __name__ == '__main__':

Callers

nothing calls this directly

Calls 3

webio_handlerFunction · 0.90
static_routesFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…