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

Method #rpc

nodejs/src/copilotRequestHandler.ts:625–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

623 }
624
625 #rpc(): ServerRpc {
626 const r = this.#getServerRpc();
627 if (!r) {
628 throw new Error("Copilot request response used after RPC connection closed.");
629 }
630 return r;
631 }
632}
633
634const FORBIDDEN_REQUEST_HEADERS = new Set([

Callers 4

startResponseMethod · 0.95
writeResponseMethod · 0.95
endResponseMethod · 0.95
errorResponseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected