Show / Hide Table of Contents

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 Source

Builder(String)

Declaration
public Builder(string apiKey)
Parameters
Type Name Description
System.String apiKey

Fields

| Improve this Doc View Source

ApiKey

Riot Games API key.

Declaration
public string ApiKey
Field Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

MaxConcurrentRequests

Maximum number of concurrent requests allowed.

Declaration
public int MaxConcurrentRequests
Field Value
Type Description
System.Int32
| Improve this Doc View Source

OverheadFactor

Overhead factor to reduce the chance 429s due to network noise.

Declaration
public float OverheadFactor
Field Value
Type Description
System.Single
| Improve this Doc View Source

Retries

Number of times to retry a failed request (zero for no retries).

Declaration
public int Retries
Field Value
Type Description
System.Int32
| Improve this Doc View Source

TokenBucketFactory

Factory for creating temporal buckets.

Declaration
public TokenBucketFactory TokenBucketFactory
Field Value
Type Description
TokenBucketFactory

Methods

| Improve this Doc View Source

Build()

Declaration
public RiotApiConfig Build()
Returns
Type Description
RiotApiConfig
  • Improve this Doc
  • View Source
Back to top Generated by DocFX