Search Results for

    Show / Hide Table of Contents

    Class RestConfiguration

    Holds the configurations for Color-Chan.Discord.Rest

    Inheritance
    Object
    RestConfiguration
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Rest.Configurations
    Assembly: Color-Chan.Discord.Rest.dll
    Syntax
    public class RestConfiguration

    Properties

    | Improve this Doc View Source

    DiscordBaseUriOverwrite

    The base Uri that will be used with the Discord HTTP client. Example: http://localhost:3000/api/v9/ Disabling this can be useful if you want to use a rate limited proxy of the Discord API.

    Declaration
    public Uri DiscordBaseUriOverwrite { get; set; }
    Property Value
    Type Description
    Uri
    | Improve this Doc View Source

    UseRateLimiting

    Whether or not Color-Chan.Discord.Rest should try to prevent rate limits. Default: true Disabling this can be useful if you want to use a rate limited proxy of the Discord API.

    Declaration
    public bool UseRateLimiting { get; set; }
    Property Value
    Type Description
    Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX