* Legacy alias kept for backward-compat with test files that call * `client.request(...)` directly. New callers should use * `requestWithMeta` or the typed helpers (`get`, `post`, etc.).
(method: string, path: string, options: RequestOptions = {})
| 644 | * `requestWithMeta` or the typed helpers (`get`, `post`, etc.). |
| 645 | */ |
| 646 | async request<T>(method: string, path: string, options: RequestOptions = {}): Promise<T> { |
| 647 | return this.requestWithMeta<T>(method, path, options).then(r => r.body); |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | function trimTrailingSlash(url: string): string { |
nothing calls this directly
no test coverage detected