xhttp 1.0.1 copy "xhttp: ^1.0.1" to clipboard
xhttp: ^1.0.1 copied to clipboard

A cross platform client-side HTTP library for Dart.

example/main.dart

import 'package:xhttp/xhttp.dart';

const exampleURL = 'https://postman-echo.com/get?foo1=bar1&foo2=bar2';

Future<void> main() async {
  final client = Client();
  final response = await client.get(Uri.parse(exampleURL));
  print(await response.body);
  client.close();
}
6
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A cross platform client-side HTTP library for Dart.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

build_runner, http_parser, meta, pedantic, quiver

More

Packages that depend on xhttp