Phone API Reference - Classes - NetRequest - setRequestHeader
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 |