Show / Hide Table of Contents

Class RequestManager

For sending rate-limited requests to the Riot API.

Manages splitting up regions and limiting concurrent connections.

Inheritance
System.Object
RequestManager
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.Util
Assembly: Camille.dll
Syntax
public class RequestManager

Constructors

| Improve this Doc View Source

RequestManager(IRiotApiConfig)

Declaration
public RequestManager(IRiotApiConfig config)
Parameters
Type Name Description
IRiotApiConfig config

Methods

| Improve this Doc View Source

Get<T>(String, String, Region, IEnumerable<KeyValuePair<String, String>>, Boolean, Nullable<CancellationToken>)

Declaration
public Task<T> Get<T>(string methodId, string relativeUrl, Region region, IEnumerable<KeyValuePair<string, string>> queryParams, bool nonRateLimited, CancellationToken? token)
Parameters
Type Name Description
System.String methodId
System.String relativeUrl
Region region
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> queryParams
System.Boolean nonRateLimited
System.Nullable<System.Threading.CancellationToken> token
Returns
Type Description
System.Threading.Tasks.Task<T>
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
Back to top Generated by DocFX