Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnWebSocketConnectionEstablished

TElHTTPSServer     See also     


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


This event is fired when a WebSocket connection is established.

Declaration

[C#]
    event TSBHTTPWebSocketConnectionEstablishedEvent OnWebSocketConnectionEstablished;
    delegate void TSBHTTPWebSocketConnectionEstablishedEvent(Object Sender, TElWebSocketServer WSServer);

[VB.NET]
    Event OnWebSocketConnectionEstablished As TSBHTTPWebSocketConnectionEstablishedEvent
    Delegate Sub TSBHTTPWebSocketConnectionEstablishedEvent(ByVal Sender As Object, ByVal WSServer As TElWebSocketServer)

[Pascal]
    property OnWebSocketConnectionEstablished : TSBHTTPWebSocketConnectionEstablishedEvent;
    TSBHTTPWebSocketConnectionEstablishedEvent = procedure(Sender : TObject; WSServer : TElWebSocketServer) of object;

[C++]
    void get_OnWebSocketConnectionEstablished(SBHTTPSServer_TSBHTTPWebSocketConnectionEstablishedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnWebSocketConnectionEstablished(SBHTTPSServer_TSBHTTPWebSocketConnectionEstablishedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *SBHTTPSServer_TSBHTTPWebSocketConnectionEstablishedEvent)(void * _ObjectData, TObjectHandle Sender, TElWebSocketServerHandle WSServer);

[PHP]
    TSBHTTPWebSocketConnectionEstablishedEvent|callable|NULL get_OnWebSocketConnectionEstablished()
    void set_OnWebSocketConnectionEstablished(TSBHTTPWebSocketConnectionEstablishedEvent|callable|NULL $Value)
    callable TSBHTTPWebSocketConnectionEstablishedEvent(TObject $Sender, TElWebSocketServer $WSServer)

[Java]
    TSBHTTPWebSocketConnectionEstablishedEvent getOnWebSocketConnectionEstablished();
    void setOnWebSocketConnectionEstablished(TSBHTTPWebSocketConnectionEstablishedEvent Value);
    TSBHTTPWebSocketConnectionEstablishedEvent.Callback OnWebSocketConnectionEstablished = new TSBHTTPWebSocketConnectionEstablishedEvent.Callback() {
        public void TSBHTTPWebSocketConnectionEstablishedEventCallback(TObject Sender, TElWebSocketServer WSServer) {
            //...
        }
    }

Parameters

  • WSServer - the server that will be used to handle the WS connection.
  • WSClient -

Description

This event is fired by TElHTTPSServer when it has established a WebSocket connection with a client.

See also:     OnBeforeWebSocketServerUsed    

Discuss this help topic in SecureBlackbox Forum