MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / request

Method request

projects/runtime-client/src/client.ts:268–271  ·  view source on GitHub ↗
(method: string, params?: unknown)

Source from the content-addressed store, hash-verified

266 ) {}
267
268 async request<T>(method: string, params?: unknown): Promise<T> {
269 await this.connect()
270 return this.requestRaw<T>(method, params)
271 }
272
273 private async requestRaw<T>(method: string, params?: unknown): Promise<T> {
274 const request: RuntimeRequest = params === undefined ? { id: this.nextId++, method } : { id: this.nextId++, method, params }

Callers

nothing calls this directly

Calls 2

connectMethod · 0.95
requestRawMethod · 0.95

Tested by

no test coverage detected