Table of Contents

IWebSocket.Send Method

Overloads

IWebSocket.Send(string)

Sends a full text message to the WebSocket connection. Handles fragmented messages automatically.

Syntax

Unit: Sparkle.WebSocket

procedure IWebSocket.Send(const Value: string); overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const Value string The text message to send.

See also

IWebSocket.Send(TArray<Byte>)

Sends a full binary message to the WebSocket connection. Handles fragmented messages automatically.

Syntax

Unit: Sparkle.WebSocket

procedure IWebSocket.Send(const Value: TArray<Byte>); overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const Value TArray<Byte> The binary data to send.

See also