Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.5 KB

File metadata and controls

43 lines (34 loc) · 2.5 KB

@fgrzl/fetch documentation

This documentation is organized around the normal request flow: start with the quick start, then read the response contract, then add configuration and middleware as needed.

Start here

Document Description
Getting started Install, base URL, and the first request
Error handling Success and failure response branches
Architecture Public contract and middleware flow
Configuration Client options, defaults, and overrides

Guides

Document Description
Middleware Built-in middleware and composition
Cancellation AbortSignal and timeout behavior
TypeScript Narrowing, generics, and response types
Operation ID Correlation headers and tracing helpers
Export structure Package entry points and subpath exports
Troubleshooting Common setup and runtime issues

Middleware reference

Document Description
Authentication Bearer token injection
Authorization Selected failure handling
Retry Retries with backoff
Cache TTL memoization for safe reads
Logging Request and response logging
Rate limit Client-side throttling
CSRF CSRF token injection
Custom Write middleware directly

Related