C# Class Imgur.API.Endpoints.Impl.RateLimitEndpoint

Gets credit limit.
Inheritance: EndpointBase, IRateLimitEndpoint
Afficher le fichier Open project: DamienDennehy/Imgur.API Class Usage Examples

Private Properties

Свойство Type Description
RateLimitEndpoint System

Méthodes publiques

Méthode Description
GetRateLimitAsync ( ) : Task

Gets remaining credits for the application.

RateLimitEndpoint ( IApiClient apiClient ) : System

Initializes a new instance of the RateLimitEndpoint class.

Private Methods

Méthode Description
RateLimitEndpoint ( IApiClient apiClient, HttpClient httpClient ) : System

Initializes a new instance of the RateLimitEndpoint class.

Method Details

GetRateLimitAsync() public méthode

Gets remaining credits for the application.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from a Mashape endpoint. Thrown when an error is found in a response from an Imgur endpoint.
public GetRateLimitAsync ( ) : Task
Résultat Task

RateLimitEndpoint() public méthode

Initializes a new instance of the RateLimitEndpoint class.
public RateLimitEndpoint ( IApiClient apiClient ) : System
apiClient IApiClient The type of client that will be used for authentication.
Résultat System