restio 0.10.11

Dart native
Flutter Android iOS

A simple but powerful HTTP Client for Dart inspired by OkHttp.

example/main.dart

import 'package:restio/restio.dart';

Future<void> main() async {
  final client = Restio();

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

  print(data['ip']);

  await client.close();
}
14
likes
90
pub points
78%
popularity

Publisher

tiagohm.dev

A simple but powerful HTTP Client for Dart inspired by OkHttp.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

brotli, crypto, equatable, globbing, http2, http_parser, ip, meta, mime_type, path, raw, string_scanner, utf

More

Packages that depend on restio