Class RiotApiConfig
Inheritance
System.Object
RiotApiConfig
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MingweiSamuel.Camille
Assembly: Camille.dll
Syntax
public class RiotApiConfig : IRiotApiConfig
Properties
| Improve this Doc View SourceApiKey
Riot Games API key.
Declaration
public 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
public float ConcurrentInstanceFactor { get; }
Property Value
Type | Description |
---|---|
System.Single |
MaxConcurrentRequests
Maximum number of concurrent requests allowed.
Declaration
public int MaxConcurrentRequests { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
OverheadFactor
Overhead factor to reduce the chance 429s due to network noise.
Declaration
public float OverheadFactor { get; }
Property Value
Type | Description |
---|---|
System.Single |
Retries
Number of times to retry a failed request (zero for no retries).
Declaration
public int Retries { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TokenBucketFactory
Factory for creating temporal buckets.
Declaration
public TokenBucketFactory TokenBucketFactory { get; }
Property Value
Type | Description |
---|---|
TokenBucketFactory |