(options: HostedHttpClientOptions = {})
| 260 | }) as typeof globalThis.fetch; |
| 261 | |
| 262 | export const makeHostedFetch = (options: HostedHttpClientOptions = {}): typeof globalThis.fetch => |
| 263 | // oxlint-disable-next-line executor/no-raw-fetch -- boundary: exposes a guarded Fetch API adapter for libraries that require fetch |
| 264 | guardFetch(options.fetch ?? globalThis.fetch, options); |
| 265 | |
| 266 | // --------------------------------------------------------------------------- |
| 267 | // Span header redaction. |
no test coverage detected