TextData Event
Passes a received chunk of text data to the application.
Syntax
public event OnTextDataHandler OnTextData; public delegate void OnTextDataHandler(object sender, WebsocketclientTextDataEventArgs e); public class WebsocketclientTextDataEventArgs : EventArgs { public string Text { get; } public bool Last { get; } }
Public Event OnTextData As OnTextDataHandler Public Delegate Sub OnTextDataHandler(sender As Object, e As WebsocketclientTextDataEventArgs) Public Class WebsocketclientTextDataEventArgs Inherits EventArgs Public ReadOnly Property Text As String Public ReadOnly Property Last As Boolean End Class
Remarks
The component fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.