MCPcopy Index your code
hub / github.com/python-websockets/websockets / main

Function main

example/tls/server.py:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20ssl_context.load_cert_chain(localhost_pem)
21
22async def main():
23 async with serve(hello, "localhost", 8765, ssl=ssl_context) as server:
24 await server.serve_forever()
25
26if __name__ == "__main__":
27 asyncio.run(main())

Callers 1

server.pyFile · 0.70

Calls 2

serveFunction · 0.90
serve_foreverMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…