MCPcopy
hub / github.com/urllib3/urllib3 / main

Function main

dummyserver/hypercornserver.py:134–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132
133
134def main() -> int:
135 # For debugging dummyserver itself - PYTHONPATH=src python -m dummyserver.hypercornserver
136 from .app import hypercorn_app
137
138 config = Config()
139 config.bind = ["localhost:0"]
140 shutdown_event = trio.Event()
141 trio.run(_start_server, config, hypercorn_app, shutdown_event)
142 return 0
143
144
145if __name__ == "__main__":

Callers 1

hypercornserver.pyFile · 0.85

Calls 2

ConfigClass · 0.85
runMethod · 0.45

Tested by

no test coverage detected