Search Results for

    Show / Hide Table of Contents

    Class DownloadResult

    Inheritance
    object
    ResultBase
    RESTResponse
    DownloadResult
    Implements
    IResult
    Inherited Members
    RESTResponse.IsSuccess
    RESTResponse.StatusCode
    RESTResponse.TextOutput
    RESTResponse.BinaryOutput
    RESTResponse.ImageOutput
    RESTResponse.AudioOutput
    RESTResponse.FileOutput
    RESTResponse.OutputPath
    RESTResponse.Headers
    RESTResponse.GetHeader(string)
    RESTResponse.FromUwr<T>(UnityWebRequest)
    ResultBase.IsFailure
    ResultBase.ErrorMessage
    ResultBase.Exception
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public sealed class DownloadResult : RESTResponse, IResult

    Constructors

    | Edit this page View Source

    DownloadResult(string, ulong)

    Declaration
    public DownloadResult(string downloadPath, ulong fileSizeInBytes)
    Parameters
    Type Name Description
    string downloadPath
    ulong fileSizeInBytes

    Properties

    | Edit this page View Source

    DownloadPath

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

    FileSizeInBytes

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

    HasBody

    Whether the API response has an empty body.

    Declaration
    public override bool HasBody { get; }
    Property Value
    Type Description
    bool
    Overrides
    RESTResponse.HasBody

    Implements

    IResult

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    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)
    PipelineExtensions.GetResponseHeaderBooleanValue(RESTResponse, string)
    PipelineExtensions.GetResponseHeaderValue(RESTResponse, string)
    RESTApiUnityObjectUtils.GetAudioClipPayload(RESTResponse)
    RESTApiUnityObjectUtils.GetTexture2DPayload(RESTResponse)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation