Search Results for

    Show / Hide Table of Contents

    Class RESTApiUtils

    Inheritance
    object
    RESTApiUtils
    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 RESTApiUtils

    Methods

    | Edit this page View Source

    DecodeAudioAsync<TRes>(RESTRequest, TRes, byte[], MimeType, RESTClient)

    Declaration
    public static UniTask<TRes> DecodeAudioAsync<TRes>(RESTRequest request, TRes response, byte[] binaryBody, MimeType contentType, RESTClient client) where TRes : RESTResponse
    Parameters
    Type Name Description
    RESTRequest request
    TRes response
    byte[] binaryBody
    MimeType contentType
    RESTClient client
    Returns
    Type Description
    UniTask<TRes>
    Type Parameters
    Name Description
    TRes
    | Edit this page View Source

    FormatAttributeParams<T>(string, T, JsonSerializerSettings)

    Declaration
    public static string FormatAttributeParams<T>(string endpoint, T body, JsonSerializerSettings jss)
    Parameters
    Type Name Description
    string endpoint
    T body
    JsonSerializerSettings jss
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    FormatEndpointUrl(IApiClient, string, List<RequestParameter>)

    Declaration
    public static string FormatEndpointUrl(IApiClient client, string urlTemplate, List<RequestParameter> @params = null)
    Parameters
    Type Name Description
    IApiClient client
    string urlTemplate
    List<RequestParameter> params
    Returns
    Type Description
    string
    | Edit this page View Source

    HideSensitiveInfoFromUrl(string)

    Declaration
    public static string HideSensitiveInfoFromUrl(string url)
    Parameters
    Type Name Description
    string url
    Returns
    Type Description
    string
    | Edit this page View Source

    ResolveOutputPath(string, string)

    Declaration
    public static string ResolveOutputPath(string outputPath, string extension)
    Parameters
    Type Name Description
    string outputPath
    string extension
    Returns
    Type Description
    string
    | Edit this page View Source

    ResolveOutputPath(string, AudioType)

    Declaration
    public static string ResolveOutputPath(string outputPath, AudioType audioType)
    Parameters
    Type Name Description
    string outputPath
    AudioType audioType
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation