StartTransfer Event
Fired when a document starts transferring (after the headers).
Syntax
ANSI (Cross Platform) virtual int FireStartTransfer(OAuthStartTransferEventParams *e);
typedef struct {
int Direction; int reserved; } OAuthStartTransferEventParams; Unicode (Windows) virtual INT FireStartTransfer(OAuthStartTransferEventParams *e);
typedef struct {
INT Direction; INT reserved; } OAuthStartTransferEventParams;
- (void)onStartTransfer:(int)direction;
#define EID_OAUTH_STARTTRANSFER 14 virtual INT CLOUDMAIL_CALL FireStartTransfer(INT &iDirection);
Remarks
The StartTransfer event is fired first when the client starts sending data to the server (in a 'POST' or 'PUT' request) and then when the document text starts transferring from the server to the local host.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.