Search Results for

    Show / Hide Table of Contents

    Class OptionExtensions

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

    Methods

    | Edit this page View Source

    ResolveDownloadPath(DownloadOptions, string, MimeType)

    Declaration
    public static string ResolveDownloadPath(this DownloadOptions downloadOptions, string fallbackDirectory = null, MimeType contentType = null)
    Parameters
    Type Name Description
    DownloadOptions downloadOptions
    string fallbackDirectory
    MimeType contentType
    Returns
    Type Description
    string
    | Edit this page View Source

    SetContentType(RequestOptions, MimeType)

    Declaration
    public static RequestOptions SetContentType(this RequestOptions options, MimeType contentType)
    Parameters
    Type Name Description
    RequestOptions options
    MimeType contentType
    Returns
    Type Description
    RequestOptions
    | Edit this page View Source

    ToRequestOptions(CancellationToken)

    Declaration
    public static RequestOptions ToRequestOptions(this CancellationToken token)
    Parameters
    Type Name Description
    CancellationToken token
    Returns
    Type Description
    RequestOptions
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation