馃敄 Feature description
While creating instance of appwrite.client, there should be option to pass custom http.client for all(or possible) requests. This gives flexibility to use better implementations like retryClient, fetch_client, cronet_http etc.
It helps app to use native implementations or http/2 and other features transparently.
馃帳 Pitch
Reasons:
- we can easily use retryClient for our app provided by http package itself.
- we can experiement with platform native http implementations like cronet_http Interesting comparision about httpclients
- It is standard guidance from http package as below
This is standard guidance for package creators from http package page in Tip:
If you are writing a Dart package or Flutter plugin that uses package:http, you should not depend on a particular Client implementation. Let the application author decide what implementation is best for their project. You can make that easier by accepting an explicit Client argument
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
馃敄 Feature description
While creating instance of appwrite.client, there should be option to pass custom http.client for all(or possible) requests. This gives flexibility to use better implementations like retryClient, fetch_client, cronet_http etc.
It helps app to use native implementations or http/2 and other features transparently.
馃帳 Pitch
Reasons:
This is standard guidance for package creators from http package page in Tip:
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?