SecureBlackbox 2020 .NET Edition

Questions / Feedback?

TextData Event

Passes a received chunk of text data to the application.

Syntax

public event OnTextDataHandler OnTextData;

public delegate void OnTextDataHandler(object sender, WebsocketserverTextDataEventArgs e);

public class WebsocketserverTextDataEventArgs : EventArgs {
  public long ConnectionID { get; }
  public string Text { get; }
  public bool Last { get; }
}
Public Event OnTextData As OnTextDataHandler

Public Delegate Sub OnTextDataHandler(sender As Object, e As WebsocketserverTextDataEventArgs)

Public Class WebsocketserverTextDataEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionID As Long
  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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]