Table of Contents

TWebSocketReceiveResult Record

Contains the result of receiving a WebSocket message, including the number of bytes received, message type, and whether the message is complete.

Syntax

Unit: Sparkle.WebSocket

TWebSocketReceiveResult = record;

Fields

Name Description
Count The number of bytes received in the WebSocket message.
MessageType The type of the received WebSocket message (Text, Binary, or Close).
EndOfMessage Indicates whether the message received is complete (end of message).