Changes for version 0.14 - 2026-08-18
- fetch_abi v2: on_request, an observer for outbound requests.
- Fetch->on_request(\&start, \&done): the same registry, reached from Perl.
- Fetch->on_request( sub { my ($method, $url, $headers) = @_; push @$headers, traceparent => span_id(); return { at => time, url => $url } }, sub { my ($token, $res, $err) = @_; record($token->{url}, time - $token->{at}, $err ? "failed: $err" : $res->status) }, );
Modules
HTTP/2 Future-based user agent
store cookies and apply them to requests
a fast, native, Future-compatible async result
ordered, case-insensitive, multi-valued HTTP headers
the event-loop adapter interface Fetch drives
run Fetch under AnyEvent
run Fetch on a Hyperman::Loop
run Fetch on an IO::Async::Loop
Fetch's own vendored C event loop
an HTTP response from Fetch
a live WebSocket connection from Fetch