UNPKG

@sentry/nextjs

Version:
7 lines (6 loc) 393 B
import { Span, WebFetchHeaders } from '@sentry/core'; /** * Extracts HTTP request headers as span attributes and optionally applies them to a span. */ export declare function addHeadersAsAttributes(headers: WebFetchHeaders | Headers | Record<string, string | string[] | undefined> | undefined, span?: Span): Record<string, string>; //# sourceMappingURL=addHeadersAsAttributes.d.ts.map