MCPcopy
hub / github.com/21st-dev/1code / stopServer

Method stopServer

src/main/lib/oauth.ts:925–930  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

923 }
924
925 private stopServer(): void {
926 if (this.server) {
927 this.server.close();
928 this.server = null;
929 }
930 }
931
932 // Cancel the OAuth flow
933 cancel(): void {

Callers 2

startCallbackServerMethod · 0.95
cancelMethod · 0.95

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected