ResponseStatusCode
Structure
ResponseStatusCode(iStatusCode)
Parameters
| Parameter | Type | Description |
|---|---|---|
iStatusCode | Integer | the status code for the web response |
Return value
String
Description
Use this function to set the status code of the web packet response. Important: Set this status BEFORE you set the message body response using either ResponseBodyAsText or ResponseBodyAsFile.
Example
ResponseStatusCode(607)