Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry_deno/packages/core/src/index.ts>getEnvelopeEndpointWithUrlEncodedAuth

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
function getEnvelopeEndpointWithUrlEncodedAuth
import { getEnvelopeEndpointWithUrlEncodedAuth } from "https://deno.land/x/sentry_deno@v0.2.2/packages/core/src/index.ts";

Returns the envelope endpoint URL with auth in the query string.

Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.

Parameters

dsn: DsnComponents
optional
tunnelOrOptions: string | ClientOptions = [UNSUPPORTED]

Returns

string