Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc s/example for new http API runWithClient #1192

Closed
marandaneto opened this issue Dec 16, 2022 · 1 comment
Closed

Doc s/example for new http API runWithClient #1192

marandaneto opened this issue Dec 16, 2022 · 1 comment

Comments

@marandaneto
Copy link
Contributor

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.

@ueman
Copy link
Collaborator

ueman commented Dec 29, 2022

According to dart-lang/http#828 it doesn't quite work that well for Flutter. It still works for pure Dart though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants