Unosquare
    Show / Hide Table of Contents

    Class WebSocketException

    The exception that is thrown when a WebSocket gets a fatal error.

    Inheritance
    Object
    WebSocketException
    Namespace: EmbedIO.WebSockets
    Syntax
    public class WebSocketException : Exception

    Properties

    Code

    Gets the status code indicating the cause of the exception.

    Declaration
    public CloseStatusCode Code { get; }
    Property Value
    Type Description
    CloseStatusCode

    One of the CloseStatusCode enum values, represents the status code indicating the cause of the exception.

    Comments

    Back to top Copyright © 2017-2019 Unosquare