@sentry/nextjs
Version:
Official Sentry SDK for Next.js
6 lines • 391 B
TypeScript
import type { 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