Method
get
(path: string, query?: Record<string, string | number | boolean | undefined>)
Source from the content-addressed store, hash-verified
| 95 | ) {} |
| 96 | |
| 97 | async get<T>(path: string, query?: Record<string, string | number | boolean | undefined>): Promise<T> { |
| 98 | return this.request<T>('GET', path, undefined, query); |
| 99 | } |
| 100 | |
| 101 | /** Authenticated raw-binary GET (no envelope). Used for file downloads that |
| 102 | * must carry the Bearer token — e.g. <video>/<img> src, which the browser |
Callers
nothing calls this directly
Tested by
no test coverage detected