Constructor RestClient
- Namespace
- DSharpPlus.Net
- Assembly
- DSharpPlus.dll
RestClient(ILogger<RestClient>, HttpClient, IOptions<RestClientOptions>, IOptions<TokenContainer>)
public RestClient(ILogger<RestClient> logger, HttpClient client, IOptions<RestClientOptions> options, IOptions<TokenContainer> tokenContainer)
Parameters
logger
ILogger<RestClient>client
HttpClientoptions
IOptions<RestClientOptions>tokenContainer
IOptions<TokenContainer>