lazy_http_client 1.0.0 lazy_http_client: ^1.0.0 copied to clipboard
Simple http client class that will auto apply specified headers on all request.
example/lazy_http_client_example.dart
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);
print(httpClient);
}