MCPcopy Index your code
hub / github.com/github/copilot-sdk / close

Method close

python/e2e/test_copilot_request_handler_e2e.py:74–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 return self.ws_requests[0]
73
74 async def close(self) -> None:
75 self._http_server.shutdown()
76 self._http_thread.join(timeout=5)
77 self._http_server.server_close()
78 self._ws_server.close() # type: ignore[attr-defined]
79 await self._ws_server.wait_closed() # type: ignore[attr-defined]
80
81
82def _sse_body(text: str, resp_id: str) -> bytes:

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
closeMethod · 0.65
shutdownMethod · 0.45

Tested by

no test coverage detected