(method: string, params?: unknown)
| 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 } |
nothing calls this directly
no test coverage detected