MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / serve

Function serve

src/interaction_handler.py:135–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 httpd = HTTPServer((host, port), InteractionHandler)
134 httpd.interaction_server = interaction_server
135 def serve():
136 print(f"Starting server on {host}:{port}")
137 httpd.serve_forever()
138
139 server_thread = threading.Thread(target=serve, daemon=True)
140 server_thread.start()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected