Interface IRiotApiConfig
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public interface IRiotApiConfig
Properties
| Improve this Doc View SourceApiKey
Riot Games API key.
Declaration
string ApiKey { get; }
Property Value
Type | Description |
---|---|
System.String |
ConcurrentInstanceFactor
Multiplier for using concurrent instances. For example, use 0.25 for 4 concurrent instances equally spread.
Declaration
float ConcurrentInstanceFactor { get; }
Property Value
Type | Description |
---|---|
System.Single |
MaxConcurrentRequests
Maximum number of concurrent requests allowed.
Declaration
int MaxConcurrentRequests { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
OverheadFactor
Overhead factor to reduce the chance 429s due to network noise.
Declaration
float OverheadFactor { get; }
Property Value
Type | Description |
---|---|
System.Single |
Retries
Number of times to retry a failed request (zero for no retries).
Declaration
int Retries { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TokenBucketFactory
Factory for creating temporal buckets.
Declaration
TokenBucketFactory TokenBucketFactory { get; }
Property Value
Type | Description |
---|---|
TokenBucketFactory |