Свойство | Type | Description | |
---|---|---|---|
SecondsLimit | int |
Méthode | Description | |
---|---|---|
GetRequest ( |
Goes to make a Get requst to the specifed Uri, only if it hasn't exceeded the call limit
|
|
SetAPIToken ( string token ) : void |
Set the API Token Header in the HttpClient
|
|
SetRequestLimit ( int limit ) : void |
Recreates the Semaphore, and reassigns a Limit
|
|
SetSecondsLimit ( int limit ) : void |
Assigns a new seconds limit
|
Méthode | Description | |
---|---|---|
RequestRateHttpClient ( ) : System |
public static GetRequest ( |
||
endpoint | Endpoint to request | |
Résultat | Task |
public static SetAPIToken ( string token ) : void | ||
token | string | Your Halo Developer API Token |
Résultat | void |
public static SetRequestLimit ( int limit ) : void | ||
limit | int | Request limit |
Résultat | void |
public static SetSecondsLimit ( int limit ) : void | ||
limit | int | Seconds limit |
Résultat | void |