Skip to content

Commit

Permalink
Update dart.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Dec 18, 2024
1 parent 5ebc221 commit 0d33e19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
To track automatic [Breadcrumbs for HTTP requests](https://develop.sentry.dev/sdk/data-model/event-payloads/breadcrumbs/#breadcrumb-types), you can add a Sentry wrapper that does it automatically for you.

This is only possible if you are using the [http.Client](https://pub.dev/documentation/http/latest/http/Client-class.html) class from the [http](https://pub.dev/packages/http) library.
The following code applies if you are using the [http.Client](https://pub.dev/documentation/http/latest/http/Client-class.html) class from the [http](https://pub.dev/packages/http) library.
If you're using package `Dio`, please refer to our [`sentry_dio`](https://pub.dev/packages/sentry_dio) integration.

The `SentryHttpClient` can be used as a standalone client like this:

Expand Down

0 comments on commit 0d33e19

Please sign in to comment.