Search Results for

    Show / Hide Table of Contents

    Class RESTApiRules

    Inheritance
    object
    RESTApiRules
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Networking.RESTApi
    Assembly: Glitch9.IO.dll
    Syntax
    public static class RESTApiRules

    Methods

    | Edit this page View Source

    HasTextualContentType(UnityWebRequest)

    Declaration
    public static bool HasTextualContentType(this UnityWebRequest uwr)
    Parameters
    Type Name Description
    UnityWebRequest uwr
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsHttpSuccessCode(long)

    Declaration
    public static bool IsHttpSuccessCode(long code)
    Parameters
    Type Name Description
    long code
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsTextualContentType(string)

    Declaration
    public static bool IsTextualContentType(string contentType)
    Parameters
    Type Name Description
    string contentType
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsTransientStatusCode(int)

    Declaration
    public static bool IsTransientStatusCode(int status)
    Parameters
    Type Name Description
    int status
    Returns
    Type Description
    bool
    | Edit this page View Source

    ResolveDataTransferMode(MimeType)

    Declaration
    public static DataTransferMode ResolveDataTransferMode(MimeType responseContentType)
    Parameters
    Type Name Description
    MimeType responseContentType
    Returns
    Type Description
    DataTransferMode
    | Edit this page View Source

    SelectDownloadHandlerFile(string, RESTRequest, RESTClient)

    Declaration
    public static DownloadHandler SelectDownloadHandlerFile(string downloadPath, RESTRequest request, RESTClient client)
    Parameters
    Type Name Description
    string downloadPath
    RESTRequest request
    RESTClient client
    Returns
    Type Description
    DownloadHandler
    | Edit this page View Source

    ShouldIncludeContentTypeHeader(MimeType)

    Declaration
    public static bool ShouldIncludeContentTypeHeader(MimeType contentType)
    Parameters
    Type Name Description
    MimeType contentType
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation