Search Results for

    Show / Hide Table of Contents

    Class WebSocketCloseArgs

    Close arguments for the WebSocket class.

    Inheritance
    System.Object
    Serializable
    Dynamic
    WebSocketCloseArgs
    Inherited Members
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class WebSocketCloseArgs : Dynamic

    Constructors

    WebSocketCloseArgs()

    Creates a new instance of WebSocketCloseArgs with default values.

    Declaration
    public WebSocketCloseArgs()

    Properties

    OnComplete

    Gets or sets the callback to execute when the connection is closed.

    Declaration
    public Action1<WebSocketCloseCompleteArgs> OnComplete { get; set; }
    Property Value
    Type Description
    Action1<WebSocketCloseCompleteArgs>

    Reason

    Gets or sets the reason to send with the close frame.

    Declaration
    public string Reason { get; set; }
    Property Value
    Type Description
    System.String

    StatusCode

    Gets or sets the status code to send with the close frame.

    Declaration
    public WebSocketStatusCode StatusCode { get; set; }
    Property Value
    Type Description
    WebSocketStatusCode
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.18.0