Status Event

Fired when the HTTP status line is received from the server.

Syntax

ANSI (Cross Platform)
virtual int FireStatus(WebFormStatusEventParams *e);
typedef struct {
const char *HTTPVersion;
int StatusCode;
const char *Description; int reserved; } WebFormStatusEventParams; Unicode (Windows) virtual INT FireStatus(WebFormStatusEventParams *e);
typedef struct {
LPCWSTR HTTPVersion;
INT StatusCode;
LPCWSTR Description; INT reserved; } WebFormStatusEventParams;
- (void)onStatus:(NSString*)HTTPVersion :(int)statusCode :(NSString*)description;
#define EID_WEBFORM_STATUS 13

virtual INT IPWORKS_CALL FireStatus(LPSTR &lpszHTTPVersion, INT &iStatusCode, LPSTR &lpszDescription);

Remarks

HTTPVersion is a string containing the HTTP version string as returned from the server (e.g. "1.1").

StatusCode contains the HTTP status code (e.g. 200), and Description the associated message returned by the server (e.g. "OK").

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8161]