Phone API Reference - Classes - NetRequest - getResponseHeader
Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70
getResponseHeader
Description
Returns the header field value from the response of which the field name matches header, unless the field name is Set-Cookie or Set-Cookie2. Returns null if either the response has not yet been received or the header doesn't exist in the response.Â
Basic Example:Â
 var headerValue = request.getResponseHeader(header); |
Â
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
header | Yes | string | Â | Name of the header as expected from the response. |
Â