Class RiotApiConfig.Builder
Inheritance
System.Object
RiotApiConfig.Builder
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 Builder
Constructors
| Improve this Doc View SourceBuilder(String)
Declaration
public Builder(string apiKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | apiKey |
Fields
| Improve this Doc View SourceApiKey
Riot Games API key.
Declaration
public string ApiKey
Field 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
Field Value
Type | Description |
---|---|
System.Single |
MaxConcurrentRequests
Maximum number of concurrent requests allowed.
Declaration
public int MaxConcurrentRequests
Field Value
Type | Description |
---|---|
System.Int32 |
OverheadFactor
Overhead factor to reduce the chance 429s due to network noise.
Declaration
public float OverheadFactor
Field Value
Type | Description |
---|---|
System.Single |
Retries
Number of times to retry a failed request (zero for no retries).
Declaration
public int Retries
Field Value
Type | Description |
---|---|
System.Int32 |
TokenBucketFactory
Factory for creating temporal buckets.
Declaration
public TokenBucketFactory TokenBucketFactory
Field Value
Type | Description |
---|---|
TokenBucketFactory |
Methods
| Improve this Doc View SourceBuild()
Declaration
public RiotApiConfig Build()
Returns
Type | Description |
---|---|
RiotApiConfig |