enums library
This library combines enumerations used in Fetch API and is safe to use in non-JS environments.
Enums
- RequestCache
- The cache read-only property of the Request interface contains the cache mode of the request. It controls how the request will interact with the browser's HTTP cache.
- RequestCredentials
- Controls what browsers do with credentials (cookies, HTTP authentication entries, and TLS client certificates).
- RequestDestination
-
The destination
read-only
property of the Request interface returns a string describing the type of content being requested. - RequestDuplex
- Request duplex mode.
- RequestMode
- Mode is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable.
- RequestRedirect
- Specifies how to handle a redirect response.
- RequestReferrerPolicy
- Specifies the referrer policy to use for the request.
- ResponseType
- The type of the response.