Skip to content

Commit 93f5071

Browse files
authored
Update dart.mdx (#12177)
1 parent 99016ee commit 93f5071

File tree

1 file changed

+2
-1
lines changed
  • platform-includes/enriching-events/breadcrumbs/automatic-breadcrumbs

1 file changed

+2
-1
lines changed

platform-includes/enriching-events/breadcrumbs/automatic-breadcrumbs/dart.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
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.
22

3-
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.
3+
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.
4+
If you're using package `Dio`, please refer to our [`sentry_dio`](https://pub.dev/packages/sentry_dio) integration.
45

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

0 commit comments

Comments
 (0)