Search Results for

    Show / Hide Table of Contents

    Struct ResponseContext

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public readonly struct ResponseContext

    Constructors

    | Edit this page View Source

    ResponseContext(string, string, int, bool)

    Declaration
    public ResponseContext(string id = null, string @event = null, int retryMs = -1, bool done = false)
    Parameters
    Type Name Description
    string id
    string event
    int retryMs
    bool done

    Properties

    | Edit this page View Source

    Done

    Declaration
    public bool Done { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Event

    Declaration
    public string Event { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Id

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RetryMs

    Declaration
    public int RetryMs { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Copy(string, string, int?, bool?)

    Declaration
    public ResponseContext Copy(string id = null, string @event = null, int? retryMs = null, bool? done = null)
    Parameters
    Type Name Description
    string id
    string event
    int? retryMs
    bool? done
    Returns
    Type Description
    ResponseContext

    Extension Methods

    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetHashCodeOrDefault<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation