• Adds sentry-trace and baggage headers to the various forms of fetch headers

    Parameters

    • request: unknown
    • dynamicSamplingContext: Partial<DynamicSamplingContext>
    • span: Span
    • options: {
          headers?: PolymorphicRequestHeaders | {
              [key: string]: string[] | string | undefined;
          };
      }
      • Optional headers?: PolymorphicRequestHeaders | {
            [key: string]: string[] | string | undefined;
        }

    Returns PolymorphicRequestHeaders

Generated using TypeDoc