oxy_http 0.0.1 copy "oxy_http: ^0.0.1" to clipboard
oxy_http: ^0.0.1 copied to clipboard

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

example/main.dart

import "package:oxy/oxy.dart";
import "package:oxy_http/oxy_http.dart";

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

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

Publisher

verified publishermedz.dev

Weekly Downloads

A HTTP adapter for Oxy that uses Dart's http 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

http, oxy

More

Packages that depend on oxy_http