Discuss this help topic in SecureBlackbox Forum


TElWebSocketBase     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when a message is received.


    event TSBWSMsgReceivedEvent OnMessageReceived;
    delegate void TSBWSMsgReceivedEvent(Object Sender, TElWebSocketMessage Msg);

    Event OnMessageReceived As TSBWSMsgReceivedEvent
    Delegate Sub TSBWSMsgReceivedEvent(ByVal Sender As Object, ByVal Msg As TElWebSocketMessage)

    property OnMessageReceived : TSBWSMsgReceivedEvent;
    TSBWSMsgReceivedEvent = procedure(Sender : TObject; Msg : TElWebSocketMessage) of object;

    void get_OnMessageReceived(TSBWSMsgReceivedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMessageReceived(TSBWSMsgReceivedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWSMsgReceivedEvent)(void * _ObjectData, TObjectHandle Sender, TElWebSocketMessageHandle Msg);

    TSBWSMsgReceivedEvent|callable|NULL get_OnMessageReceived()
    void set_OnMessageReceived(TSBWSMsgReceivedEvent|callable|NULL $Value)
    callable TSBWSMsgReceivedEvent(TObject $Sender, TElWebSocketMessage $Msg)


  • Msg - contains the received message.


    This event is fired each time the component receives a WebSocket message.

See also:     OnBinaryData     OnTextData    

Discuss this help topic in SecureBlackbox Forum