fetch_client 1.0.0 copy "fetch_client: ^1.0.0" to clipboard
fetch_client: ^1.0.0 copied to clipboard

Client for http package based on Fetch API, enables streamed requests on web and more.

Fetch Client #

This package provides package:http client based on Fetch API.

It's a drop-in solution for extensions with Manifest V3.

Features #

  • Cancel requests.
  • Support data streaming:
    • Get response as Stream.
    • Optionally send Stream as request body.
  • Get access to redirect URL and status.
  • Support non-200 responses (fetch will only fail on network error).
  • Simulate redirects responses via probe request and artificial location header.
19
likes
0
pub points
93%
popularity

Publisher

unverified uploader

Client for http package based on Fetch API, enables streamed requests on web and more.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

fetch_api, http

More

Packages that depend on fetch_client