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

Gets credit limit.
Inheritance: EndpointBase, IRateLimitEndpoint
Mostra file Open project: DamienDennehy/Imgur.API Class Usage Examples

Private Properties

Property Type Description
RateLimitEndpoint System

Public Methods

Method Description
GetRateLimitAsync ( ) : Task

Gets remaining credits for the application.

RateLimitEndpoint ( IApiClient apiClient ) : System

Initializes a new instance of the RateLimitEndpoint class.

Private Methods

Method Description
RateLimitEndpoint ( IApiClient apiClient, HttpClient httpClient ) : System

Initializes a new instance of the RateLimitEndpoint class.

Method Details

GetRateLimitAsync() public method

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
return Task

RateLimitEndpoint() public method

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.
return System