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

Method end

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

Source from the content-addressed store, hash-verified

791 }
792
793 end(): Promise<void> {
794 return this.#run(true, () => this.#exchange.endResponse());
795 }
796
797 error(error: { message: string; code?: string }): Promise<void> {
798 return this.#run(true, () => this.#exchange.errorResponse(error));

Callers 15

respondJsonFunction · 0.45
forwardToCapiProxyFunction · 0.45
startOAuthMcpServerFunction · 0.45
challengeInitialFunction · 0.45
respondJsonFunction · 0.45
makeRequestFunction · 0.45
startMethod · 0.45
handleForwardProxyMethod · 0.45
startMethod · 0.45
performRequestMethod · 0.45
handlerFunction · 0.45

Calls 2

#runMethod · 0.95
endResponseMethod · 0.45

Tested by 5

makeRequestFunction · 0.36
handlerFunction · 0.36
makeHttpsRequestFunction · 0.36
startFakeUpstreamFunction · 0.36
sendJsonFunction · 0.36