Table of Contents

Class RestClient

Namespace
DSharpPlus.Net
Assembly
DSharpPlus.dll

Represents a client used to make REST requests.

public sealed class RestClient
Inheritance
RestClient

Constructors

RestClient(ILogger<RestClient>, HttpClient, IOptions<RestClientOptions>, IOptions<TokenContainer>)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetRequestMetrics(bool)

Gets the request metrics, optionally since the last time they were checked.