How to set default HttpClient in flutter?

Viewed 217

I want to set a default HttpClient for Sentry and use it in all requests

The program is old and completely written and used in many HTTP classes

I know I can use SentryHttpClient, but to do this I need to make changes everywhere that are written. Instead, I want to create an http.Client() and set the required ones.

0 Answers
Related