lazy_http_client

Last updated:

0 purchases

lazy_http_client Image
lazy_http_client Images
Add to Cart

Description:

lazy http client

Simple http client class that will auto apply specified headers on all requests.
Features #

[HttpClient] - class inspired by https://stackoverflow.com/a/56447947/1810391
[Headers] - collection header generator for various apis

Getting started #
flutter pub add lazy_http_client
copied to clipboard
Usage #
Import with as lazy as follow:
import 'package:lazy_http_client/lazy_http_client.dart' as lazy;

void main() {
String googleAuthToken = '';
var headers = lazy.Headers.gApis(googleAuthToken);
var httpClient = lazy.HttpClient(headers: headers);
/// ...
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.