HttpContext for Cordova
Attaches HTTP request information, such as URL, user-agent, referrer, and other headers to the event. (default)
Class name: Sentry.BrowserIntegrations.HttpContext
This integration is enabled by default. If you'd like to modify your default integrations, read this.
This integration attaches HTTP request information, such as URL, user-agent, referrer, and other headers, to the event. It allows us to correctly catalog and tag events with specific OS, browser, and version information.
Copied
Sentry.init({
integrations: [new Sentry.BrowserIntegrations.HttpContext()],
});
Sentry.init({
integrations: [new Sentry.BrowserIntegrations.HttpContext()],
});
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").