Search Results for

    Show / Hide Table of Contents

    Class WebSocketCloseEventArgs

    Represents arguments for DiscordWebSocketClosed event.

    Inheritance
    System.Object
    System.EventArgs
    AsyncEventArgs
    DiscordEventArgs
    WebSocketCloseEventArgs
    Inherited Members
    DiscordEventArgs.ServiceProvider
    AsyncEventArgs.Handled
    Namespace: DisCatSharp.Lavalink.EventArgs
    Assembly: DisCatSharp.Lavalink.dll
    Syntax
    public sealed class WebSocketCloseEventArgs : DiscordEventArgs

    Properties

    | Improve this Doc View Source

    Code

    Gets the WebSocket close code.

    Declaration
    public int Code { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Reason

    Gets the WebSocket close reason.

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Remote

    Gets whether the termination was initiated by the remote party (i.e. Discord).

    Declaration
    public bool Remote { get; }
    Property Value
    Type Description
    System.Boolean

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems