Closed marandaneto closed 1 week ago
https://pub.dev/documentation/http/latest/http/runWithClient.html Example: https://pub.dev/packages/cupertino_http
So you can technically create a single Sentry HTTP Client and set it as global.
According to https://github.com/dart-lang/http/issues/828 it doesn't quite work that well for Flutter. It still works for pure Dart though.
Description
https://pub.dev/documentation/http/latest/http/runWithClient.html Example: https://pub.dev/packages/cupertino_http
So you can technically create a single Sentry HTTP Client and set it as global.