Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.OnBeforeWebSocketClientUsed

TElHTTPSClient     See also     


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


This event is fired before a WebSocket client is used.

Declaration

[C#/Java]
    event TSBHTTPBeforeWebSocketClientUsedEvent OnBeforeWebSocketClientUsed;
    delegate void TSBHTTPBeforeWebSocketClientUsedEvent(Object Sender, TElWebSocketClient WSClient, TElHTTPSClient HTTPClient);

[VB.NET]
    Event OnBeforeWebSocketClientUsed As TSBHTTPBeforeWebSocketClientUsedEvent
    Delegate Sub TSBHTTPBeforeWebSocketClientUsedEvent(ByVal Sender As Object, ByVal WSClient As TElWebSocketClient, ByVal HTTPClient As TElHTTPSClient)

[Pascal]
    property OnBeforeWebSocketClientUsed : TSBHTTPBeforeWebSocketClientUsedEvent;
    TSBHTTPBeforeWebSocketClientUsedEvent = procedure(Sender : TObject; WSClient : TElWebSocketClient) of object;

[C++]
    void get_OnBeforeWebSocketClientUsed(TSBHTTPBeforeWebSocketClientUsedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeWebSocketClientUsed(TSBHTTPBeforeWebSocketClientUsedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPBeforeWebSocketClientUsedEvent)(void * _ObjectData, TObjectHandle Sender, TElWebSocketClientHandle WSClient, TElHTTPSClientHandle HTTPClient);

[PHP]
    TSBHTTPBeforeWebSocketClientUsedEvent|callable|NULL get_OnBeforeWebSocketClientUsed()
    void set_OnBeforeWebSocketClientUsed(TSBHTTPBeforeWebSocketClientUsedEvent|callable|NULL $Value)
    callable TSBHTTPBeforeWebSocketClientUsedEvent(TObject $Sender, TElWebSocketClient $WSClient, TElHTTPSClient $HTTPClient)

Parameters

  • WSClient - the client that will handle the WS connection.
  • HTTPClient -

Description

This event is fired by TElHTTPSClient before a WS connection is established, and allows to tune the WS client.

See also:     OnWebSocketConnectionEstablished     StartWS    

Discuss this help topic in SecureBlackbox Forum