Press on the image to return to the main documentation page.
iWebSocket
List of types:
WebSocket
WebSocket
Implementation of WebSocket client.
Events:
Connected
Closed (Reason As String)
TextMessage (Message As String)
Members:
Close
Connect
(
Url
As
String
)
Connected
As
Boolean
[read
only]
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
SendText
(
Text
As
String
)
Tag
As
Object
Members description:
Close
Closes the connection.
Connect
(
Url
As
String
)
Connects to the given Url. The Url should start with ws://
Connected
As
Boolean
[read
only]
Returns true if the WebSocket is connected.
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Tests whether this object was initialized.
SendText
(
Text
As
String
)
Sends a text message.
Tag
As
Object
Gets or sets the Tag object. This is a placeholder for any object you like to tie to this object.
Top