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

A modern, feature-rich HTTP client for Dart with Web API compatibility, supporting fetch-like syntax, request/response handling, and cross-platform adapters.

0.0.3 #

  • Remove content-length header removal in native fetch
  • Add signal abort check before request processing

0.0.2 #

Breaking Changes #

  • AbortController removed: AbortController class has been removed. Use AbortSignal() constructor directly instead.
  • AbortSignal API simplified: AbortSignal now has a public constructor and includes the abort() method directly.

Changes #

  • Removed AbortController class - no longer needed as AbortSignal can be created directly
  • Made AbortSignal.abort() method public - signals can now abort themselves
  • Removed meta dependency - no longer using @internal annotations
  • Updated AdapterRequest to use AbortSignal() instead of AbortController().signal

Migration Guide #

Before (v0.0.1):

final controller = AbortController();
final signal = controller.signal;

// Abort the signal
controller.abort('reason');

After (v0.0.2):

final signal = AbortSignal();

// Abort the signal directly
signal.abort('reason');

0.0.1 #

First version

2
likes
160
points
88
downloads

Publisher

verified publishermedz.dev

Weekly Downloads

A modern, feature-rich HTTP client for Dart with Web API compatibility, supporting fetch-like syntax, request/response handling, and cross-platform adapters.

Repository (GitHub)

Topics

#http #fetch #web #request #response

Documentation

API reference

Funding

Consider supporting this project:

github.com
opencollective.com

License

MIT (license)

Dependencies

mime

More

Packages that depend on oxy