Search Results for

    Show / Hide Table of Contents

    IWebSocket.Close Method

    Initiates the WebSocket close handshake by sending a close frame and waiting for the other side to acknowledge with its own close frame.

    Syntax

    Unit: Sparkle.WebSocket

    procedure IWebSocket.Close(CloseStatus: Integer; const StatusDescription: string); virtual; abstract;

    Parameters

    <-> Parameter Type Description
    CloseStatus Integer The status code indicating the reason for closing the connection.
    const StatusDescription string An optional description of the closure reason.

    See also

    • IWebSocket
    In This Article
    Back to top TMS Sparkle v3.32
    © 2002 - 2025 tmssoftware.com