Askr
Generated API snapshot

@askrjs/fetch/middleware

Exports from the declarations published in @askrjs/fetch 0.0.1. Signatures are generated from the installed artifact.

  • @askrjs/fetch/middleware0.0.1

Exports

This entrypoint publishes 7 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

apiKeyAuthtype

apiKeyAuth: ({ key, value, in: location }: { key: string; value: string | (() => string | Promise<string>); in?: "header" | "query"; }) => Middleware

bearerAuthtype

bearerAuth: ({ token }: { token: string | (() => string | Promise<string>); }) => Middleware

loggingtype

logging: (logger?: { log(event: Record<string, unknown>): void; }) => Middleware

retrytype

retry: (options?: RetryOptions) => Middleware

telemetrytype

telemetry: (hooks: TelemetryHooks) => Middleware