Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnBeforeWebSocketServerUsed

TElHTTPSServer     See also     


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


This event is fired before a WebSocket server is used.

Declaration

[C#/Java]
    event TSBHTTPBeforeWebSocketServerUsedEvent OnBeforeWebSocketServerUsed;
    delegate void TSBHTTPBeforeWebSocketServerUsedEvent(Object Sender, TElWebSocketServer WSServer);

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

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

[C++]
    void get_OnBeforeWebSocketServerUsed(TSBHTTPBeforeWebSocketServerUsedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeWebSocketServerUsed(TSBHTTPBeforeWebSocketServerUsedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPBeforeWebSocketServerUsedEvent)(void * _ObjectData, TObjectHandle Sender, TElWebSocketServerHandle WSServer);

[PHP]
    TSBHTTPBeforeWebSocketServerUsedEvent|callable|NULL get_OnBeforeWebSocketServerUsed()
    void set_OnBeforeWebSocketServerUsed(TSBHTTPBeforeWebSocketServerUsedEvent|callable|NULL $Value)
    callable TSBHTTPBeforeWebSocketServerUsedEvent(TObject $Sender, TElWebSocketServer $WSServer)

Parameters

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

Description

This event is fired by TElHTTPSServer when it has received a request to establish a Web Socket session.

See also:     OnWebSocketConnectionEstablished    

Discuss this help topic in SecureBlackbox Forum