http_client 1.0.0 copy "http_client: ^1.0.0" to clipboard
http_client: ^1.0.0 copied to clipboard

outdated

A platform-independent HTTP client API supporting browser, console, and curl (for SOCKS proxy).

example/example.dart

import 'dart:async';

import 'package:http_client/console.dart';

Future main() async {
  final client = new ConsoleClient();
  final rs = await client.send(new Request('GET', 'https://www.example.com/'));
  final textContent = await rs.readAsString();
  print(textContent);
  await client.close();
}
15
likes
0
pub points
88%
popularity

Publisher

verified publisheragilord.com

A platform-independent HTTP client API supporting browser, console, and curl (for SOCKS proxy).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

buffer, executor, meta

More

Packages that depend on http_client