oxy_dio 0.0.2 copy "oxy_dio: ^0.0.2" to clipboard
oxy_dio: ^0.0.2 copied to clipboard

A HTTP adapter for Oxy that uses Dart's dio package as the underlying HTTP implementation.

example/main.dart

import 'package:oxy/oxy.dart';
import 'package:oxy_dio/oxy_dio.dart';

void main() async {
  final adapter = OxyDio();
  final oxy = Oxy(adapter: adapter);
  final res = await oxy.get(
    "https://github.com/medz/oxy/raw/refs/heads/main/LICENSE",
  );

  print(await res.text());
}
0
likes
160
points
28
downloads

Publisher

verified publishermedz.dev

Weekly Downloads

A HTTP adapter for Oxy that uses Dart's dio package as the underlying HTTP implementation.

Homepage
Repository (GitHub)
View/report issues

Topics

#http #fetch #web #request #response

Documentation

API reference

Funding

Consider supporting this project:

github.com
opencollective.com

License

MIT (license)

Dependencies

dio, oxy

More

Packages that depend on oxy_dio