xhttp 1.0.1 xhttp: ^1.0.1 copied to clipboard
A cross platform client-side HTTP library for 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();
}