Gets a data flow node that refers to some representation of the response, possibly wrapped in a promise object.
(after resolving promises), and may assume the following values:
- Any response type defined by XMLHttpRequest:
text: The result is a string
json: The result is a deserialized JSON object
arraybuffer: The result is an
blob: The result is a
document: The result is a deserialized HTML or XML document
- Any of the following additional response types defined by this library:
fetch.response: The result is a
Responseobject from fetch.
stream: The result is a Node.js stream and
header: The result is the value of a header, as a string
headers: The result is a mapping from header names to their values.
error: The result is an error in an unspecified format, possibly containing information from the response
- An empty string, indicating an unknown response type.
- Any value provided by custom implementations of