Back to product page

WebSocketSendText method


Sends text to WebSocket.

Type

Void

Syntax

  • C#
  • VB.NET
Void WebSocketSendText(String text);
The WebSocketSendText(Text) syntax has these parts:
TextA string value that should be sent to WebSocket user.

Sub WebSocketSendText(ByVal Text As String)
The WebSocketSendText(Text) syntax has these parts:
TextA string value that should be sent to WebSocket user.

Remarks

Use this method to send data to established websocket for this user. It can be used only after WebSocketConnectEvent event was fired and you accepted the connection.

Since connection is full duplex, you can call this method anytime you wish, and data will be delivered to client side.

Platforms

Windows