lazy_http_client 2.0.0 copy "lazy_http_client: ^2.0.0" to clipboard
lazy_http_client: ^2.0.0 copied to clipboard

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

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

Features #

Getting started #

flutter pub add lazy_http_client

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);
  /// ...
}
1
likes
140
pub points
4%
popularity

Publisher

verified publisherjsiu.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on lazy_http_client