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 |