Status Event
Fired when the HTTP status line is received from the server.
Syntax
ANSI (Cross Platform) virtual int FireStatus(OAuthStatusEventParams *e);
typedef struct {
const char *HTTPVersion;
int StatusCode;
const char *Description; int reserved; } OAuthStatusEventParams; Unicode (Windows) virtual INT FireStatus(OAuthStatusEventParams *e);
typedef struct {
LPCWSTR HTTPVersion;
INT StatusCode;
LPCWSTR Description; INT reserved; } OAuthStatusEventParams;
- (void)onStatus:(NSString*)HTTPVersion :(int)statusCode :(NSString*)description;
#define EID_OAUTH_STATUS 15 virtual INT CLOUDMAIL_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").