public BaseRestClient(TwitchRestConfig config) { Tokens = new ConcurrentDictionary <ulong, RestTokenInfo>(); _rest = new RestApiClient(config); Logger.LogReceived += OnLogInternalAsync; }
public TwitchRestClient(TwitchRestConfig config) : base(config, CreateApiClient(config)) { }
private static TwitchRestApiClient CreateApiClient(TwitchRestConfig config) => new TwitchRestApiClient(config.RestClientProvider, config.ClientId, TwitchConfig.UserAgent);
public TwitchRestClient(TwitchRestConfig config) : base(config) { }