Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 647 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 647 Bytes

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.