Discuss this help topic in SecureBlackbox Forum

TElWebSocketSubProtocols.Add

TElWebSocketSubProtocols     See also     


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


Adds new item to the list.

Declaration

[C#/Java]
    int Add(TElWebSocketSubProtocol Proto);

[VB.NET]
    Function Add(ByVal Proto As TElWebSocketSubProtocol) As Integer

[Pascal]
    function Add(Proto : TElWebSocketSubProtocol) : integer;

[C++]
    int32_t Add(TElWebSocketSubProtocol &Proto);
    int32_t Add(TElWebSocketSubProtocol *Proto);

[PHP]
    integer Add(TElWebSocketSubProtocol $Proto)

Parameters

  • Proto - the subprotocol to be added.

Return value

    On success, returns the index of the newly added item in the list. If failed, returns -1.

Description

    Use this method to add new subprotocol to the list.

See also:     Remove     Items    

Discuss this help topic in SecureBlackbox Forum