Phone API Reference - Classes - NetRequest - setRequestHeader
Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70
setRequestHeader
Description
Appends a header to the list of author request headers, or if header is already in the list of author request headers, combines its value with value.
Basic Example:
request.setRequestHeader(header, value); |
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
header | Yes | string |
| Name of the header to set. |
value | Yes | string |
| The value to set for the header |