Enumeration: FetchResultTypes
The supported return types for the fetch method
Enumeration Members
| Enumeration Member | Value | Description |
|---|---|---|
Blob | "blob" | Returns only the body, as a Remark For NodeJS environment other |
Buffer | "buffer" | Returns only the body, as a Buffer. Remark Does not work in a Browser environment. For browsers use FetchResultTypes.Blob instead. If you use this type in a Browsers environment a ReferenceError |
JSON | "json" | Returns only the body, as JSON. Similar to as <type>) to the response to define the JSON structure, otherwise the result will be unknown. |
Result | "result" | Returns the entire response and doesn't parse the body in any way. |
Text | "text" | Returns only the body, as plain text. Similar to Body.text(). |