Constructor
new Response(status, headersnon-null, body)
Parameters:
Name | Type | Description |
---|---|---|
status | number | The response code. |
headers | Object.<string> | The response headers. All header names will be converted to lowercase strings for consistent lookups. |
body | string | The response body. |
- Source
Methods
toString()
- Source