Change the QueueLdapSync calls to use Post<T>(uri) with no body/data

This commit is contained in:
Ryan Gribble
2016-02-06 22:41:17 +10:00
parent 6965ac44b2
commit 1f13001fd8
22 changed files with 165 additions and 60 deletions
+9
View File
@@ -105,6 +105,15 @@ namespace Octokit
/// <returns><seealso cref="IResponse"/> representing the received HTTP response</returns>
Task<HttpStatusCode> Post(Uri uri);
/// <summary>
/// Performs an asynchronous HTTP POST request.
/// Attempts to map the response body to an object of type <typeparamref name="T"/>
/// </summary>
/// <typeparam name="T">The type to map the response to</typeparam>
/// <param name="uri">URI endpoint to send request to</param>
/// <returns><seealso cref="IResponse"/> representing the received HTTP response</returns>
Task<IApiResponse<T>> Post<T>(Uri uri);
/// <summary>
/// Performs an asynchronous HTTP POST request.
/// Attempts to map the response body to an object of type <typeparamref name="T"/>