fetch(string | URL, init) | Supported | Core entry point. |
fetch(Request, init) | Supported | Request fields are used unless explicitly overridden by init. |
Unsupported fetch init fields (credentials, mode, cache, referrer, integrity, keepalive) | Not supported | These fields are currently ignored by wreq-js runtime options. |
duplex | Accepted, no effect | Stream bodies are buffered, which satisfies half-duplex on its own. Accepted so Fetch API code that sets it type-checks. |
Request class export | Not supported | Request can be used as input, but is not exported by this package. |
Response.json/text/arrayBuffer/bytes/clone | Supported | Includes stream handling and clone semantics. |
Response.blob/formData | Supported | Implemented through runtime Response parsing. |
ReadableStream and iterable request bodies | Accepted, buffered | Read fully into memory before sending, so an unbounded stream means an unbounded allocation. |
| Streaming request body uploads | Not supported | The native request bridge expects a buffered body, so bodies are never chunked onto the wire. |
| Standard timeout behavior | Extended | wreq-js defaults to a 30000 ms timeout for safety. |
| Error type shape | Extended | Errors are RequestError which extends TypeError. |