Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels