![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | HttpObjectGetStatusReport | ||||
| Related Syntax | Other Library Functions |
|
Library: HTTP
Include: omtcp.xin, omhttp.xin |
define function HttpObjectGetStatusReport
read-only stream HttpObject
into modifiable stream Report
This function writes to the "Report" stream argument the descriptions of any errors encountered during the last function using the specified object. If no errors are encountered, "Report" will contain no items. HttpObjectGetStatusReport is found in either client or server programs.
Input argument:
Output argument:
Example:
; HttpObjectGetStatusReport
local HttpRequest my-Request
local HttpResponse my-Response
local stream request-Report variable
local stream response-Report variable
HttpObjectGetStatusReport my-Request into request-Report
HttpObjectGetStatusReport my-Response into response-Report
repeat over request-Report
output "%g(request-Report)%n"
again
repeat over response-Report
output "%g(response-Report)%n"
again
| ---- |