oxy 0.2.0 copy "oxy: ^0.2.0" to clipboard
oxy: ^0.2.0 copied to clipboard

A production-ready HTTP client for Dart and Flutter with middleware, retries, timeout, and safe APIs.

example/main.dart

import 'package:oxy/oxy.dart';

Future<void> main() async {
  final form = FormData()
    ..append('key', const Multipart.text('Value'))
    ..append(
      'file',
      Multipart.blob(Blob(['hello from oxy'], 'text/plain'), 'hello.txt'),
    );

  final res = await oxy.post('https://httpbin.org/post', body: form);

  print(await res.text());
}
6
likes
80
points
985
downloads

Documentation

API reference

Publisher

verified publishermedz.dev

Weekly Downloads

A production-ready HTTP client for Dart and Flutter with middleware, retries, timeout, and safe APIs.

Repository (GitHub)
View/report issues

Topics

#http #flutter #networking #middleware #api-client

Funding

Consider supporting this project:

github.com
opencollective.com

License

MIT (license)

Dependencies

ht, ocookie

More

Packages that depend on oxy