restio 0.1.0 copy "restio: ^0.1.0" to clipboard
restio: ^0.1.0 copied to clipboard

discontinued
outdated

An HTTP Client for Dart inspired by OkHttp.

example/main.dart

import 'package:restio/restio.dart';

final client = Restio();

void main() async {
  final request = Request.get('https://api.ipify.org?format=json');
  final call = client.newCall(request);
  final response = await call.execute();
  final dynamic data = await response.body.json();

  print(data['ip']);
}
26
likes
0
points
57
downloads

Publisher

verified publishertiagohm.dev

Weekly Downloads

An HTTP Client for Dart inspired by OkHttp.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, http2, http_parser, meta, mime, path, string_scanner, utf

More

Packages that depend on restio