Discuss this help topic in SecureBlackbox Forum

TElWebSocketSubProtocols.Add

TElWebSocketSubProtocols     See also     


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


Adds new item to the list.

Declaration

[C#]
    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)

[Java]
    int 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