Table of Contents

Sparkle.WebSocket Namespace

Records

Name Description
TWebSocketReceive​Result Contains the result of receiving a WebSocket message, including the number of bytes received, message type, and whether the message is complete.

Interfaces

Name Description
IWebSocket Interface for managing WebSocket communication, including sending and receiving messages, and handling connection states.
IWebSocketMessage Interface representing a WebSocket message, providing access to the message's stream, text, and binary data.
IWebSocketUpgrader Interface for upgrading an HTTP connection to a WebSocket connection.

Enumerations

Name Description
TWebSocketMessage​Type Specifies the type of message being sent or received through the WebSocket.
TWebSocketState Represents the different states a WebSocket connection can be in.