Constructor
# new Headers(xhr)
Parameters:
| Name | Type | Description |
|---|---|---|
xhr |
XMLHttpRequest
|
The request to be wrapped. |
Methods
# get(name) → {string}
Returns the response header with the given name.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string
|
string