LaunchDarkly EventSource for .NET
Search Results for

    Show / Hide Table of Contents

    Class StateChangedEventArgs

    Provides data for the state of the EventSource connection.

    Inheritance
    object
    EventArgs
    StateChangedEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.EventSource
    Assembly: LaunchDarkly.EventSource.dll
    Syntax
    public class StateChangedEventArgs : EventArgs

    Constructors

    | Edit this page View Source

    StateChangedEventArgs(ReadyState, IEnumerable<KeyValuePair<string, IEnumerable<string>>>)

    Initializes a new instance of the StateChangedEventArgs class.

    Declaration
    public StateChangedEventArgs(ReadyState readyState, IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers = null)
    Parameters
    Type Name Description
    ReadyState readyState

    One of the ReadyState values, which represents the state of the EventSource connection.

    IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers

    Response headers when the ReadyState is Open. Otherwise null.

    Properties

    | Edit this page View Source

    Headers

    Get the response headers. Only populated for Open. A collection of header values when the ReadyState is Open, or null.

    Declaration
    public IEnumerable<KeyValuePair<string, IEnumerable<string>>> Headers { get; }
    Property Value
    Type Description
    IEnumerable<KeyValuePair<string, IEnumerable<string>>>
    | Edit this page View Source

    ReadyState

    Gets the state of the EventSource connection.

    Declaration
    public ReadyState ReadyState { get; }
    Property Value
    Type Description
    ReadyState

    One of the ReadyState values, which represents the state of the EventSource connection.

    See Also

    EventArgs
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX