UNPKG

@datadog/mobile-react-native

Version:

A client-side React Native module to interact with Datadog

12 lines (11 loc) 555 B
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2016-Present Datadog, Inc. */ export const DATADOG_CUSTOM_HEADER_PREFIX = '_dd-custom-header'; export const DATADOG_BAGGAGE_HEADER = `${DATADOG_CUSTOM_HEADER_PREFIX}-baggage`; export const isDatadogCustomHeader = header => { return header.match(new RegExp(`^${DATADOG_CUSTOM_HEADER_PREFIX}`)); }; //# sourceMappingURL=headers.js.map