MCPcopy
hub / github.com/microsoft/vscode-languageserver-node / sendRequest

Method sendRequest

client/src/client.ts:81–81  ·  view source on GitHub ↗
(type: RequestType0<R, E, RO>, token?: CancellationToken)

Source from the content-addressed store, hash-verified

79 listen(): void;
80
81 sendRequest<R, E, RO>(type: RequestType0<R, E, RO>, token?: CancellationToken): Thenable<R>;
82 sendRequest<P, R, E, RO>(type: RequestType<P, R, E, RO>, params: P, token?: CancellationToken): Thenable<R>;
83 sendRequest<R>(method: string, token?: CancellationToken): Thenable<R>;
84 sendRequest<R>(method: string, param: any, token?: CancellationToken): Thenable<R>;

Callers 15

provideTypeDefinitionMethod · 0.65
createConnectionFunction · 0.65
willSaveWaitUntilMethod · 0.65
resolveCompletionItemMethod · 0.65
provideHoverMethod · 0.65
providerSignatureHelpMethod · 0.65
provideDefinitionMethod · 0.65
providerReferencesMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected