Class RestClientConfiguration
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
Hostname
The hostname to use for the RestClient. Defaults to RestHostname.
public string? Hostname { get; init; }
Property Value
RateLimitManager
The rate limit manager for the RestClient. Defaults to RateLimitManager.
public IRateLimitManager? RateLimitManager { get; init; }
Property Value
RequestHandler
The request handler for the RestClient. Defaults to RestRequestHandler.
public IRestRequestHandler? RequestHandler { get; init; }
Property Value
Version
The version of the Discord API to use. Defaults to V10.
public ApiVersion? Version { get; init; }