IP*Works! WS V9 - Online Help
IP*Works! WS V9
Questions / Feedback?

DataIn Event

Fired when data is received.

Syntax

typedef void __fastcall (__closure *TipeWSProxyDataInEvent)(System::TObject* Sender, TipeWSProxyDataInEventParams *e);

__property TipeWSProxyDataInEvent OnDataIn = {read=FOnDataIn, write=FOnDataIn};

typedef struct {
     int ConnectionId;
     String Text;
     int Direction;
} TipeWSProxyDataInEventParams;

Remarks

The DataIn event fires when data is received from the WebSocket client or the WSPConnectionForwardHost. This event may be used to log communication between the client and WSPConnectionForwardHost. The client is identified by the ConnectionId parameter. The incoming data is provided through the Text parameter.

The Direction parameter shows the originator of the data. Possible values are:

0 (Client) The data originated from the WebSocket client and is being sent to the WSPConnectionForwardHost.
1 (WSPConnectionForwardHost) The data originated from the WSPConnectionForwardHost and is being sent to the WebSocket client.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0