Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias AddRequestDataToEventOptions
import { type AddRequestDataToEventOptions } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Options deciding what parts of the request to use when enhancing an event

definition: { include?: { ip?: boolean; request?: boolean | Array<(DEFAULT_REQUEST_INCLUDES)[number]>; transaction?: boolean | TransactionNamingScheme; user?: boolean | Array<(DEFAULT_USER_INCLUDES)[number]>; }; deps?: { cookie: { parse: (cookieStr: string) => Record<string, string>; }; url: { parse: (urlStr: string) => { query: string | null; }; }; }; }