Functions
withMiddleware
| Parameter | Type | Description |
|---|---|---|
middlewares | RequestMiddleware[] | one or more middleware functions. |
RequestMiddleware
withProxy
| Parameter | Type | Description |
|---|---|---|
config | RequestProxyConfig | - |
RequestMiddleware
Types
RequestConfig
RequestConfig type from the
fetch API. It contains only the properties that are relevant for the
fal client. It also works around the fact that the fetch API Request
does not support mutability, its clone method has critical limitations
to our use case.