@sentry/nextjs
Version:
Official Sentry SDK for Next.js
7 lines (6 loc) • 393 B
TypeScript
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