Table of Contents

Class RestClientConfiguration

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class RestClientConfiguration
Inheritance
RestClientConfiguration
Inherited Members

Constructors

RestClientConfiguration()

public RestClientConfiguration()

Properties

DefaultRequestProperties

The default request properties for the RestClient. Defaults to null.

public RestRequestProperties? DefaultRequestProperties { get; init; }

Property Value

RestRequestProperties

Hostname

The hostname to use for the RestClient. Defaults to RestHostname.

public string? Hostname { get; init; }

Property Value

string

RateLimitManager

The rate limit manager for the RestClient. Defaults to RateLimitManager.

public IRateLimitManager? RateLimitManager { get; init; }

Property Value

IRateLimitManager

RequestHandler

The request handler for the RestClient. Defaults to RestRequestHandler.

public IRestRequestHandler? RequestHandler { get; init; }

Property Value

IRestRequestHandler

Version

The version of the Discord API to use. Defaults to V10.

public ApiVersion? Version { get; init; }

Property Value

ApiVersion?