AddHeader¶
Adds a new HTTP header to the request.
1 |
|
Parameters¶
string name
The name of the HTTP header.
string value
The value of the HTTP header.
Returns¶
The current RestRequest instance.
Remarks¶
The name
and value
arguments are required. Otherwise, an error is thrown.
Example¶
1 2 3 4 5 |
|