
BBjHttpResponse::addHeader
Description
In BBj 12.0 and higher, this method returns a boolean indicating whether the named response header has already been set.
Syntax
Return Value |
Method |
void |
addHeader(string name, string value) |
Parameters
Variable |
Description |
name |
Specifies the name of the header. |
value |
Specifies the value for the header. |
Return Value
None.
Remarks
The example below shows how to add a new header.
Example
REM
Obtain the instance of the BBjAPI object |