diff --git a/Octokit/Clients/ActivitiesClient.cs b/Octokit/Clients/ActivitiesClient.cs
index bf07a291..fd98cd78 100644
--- a/Octokit/Clients/ActivitiesClient.cs
+++ b/Octokit/Clients/ActivitiesClient.cs
@@ -2,6 +2,10 @@
{
public class ActivitiesClient : ApiClient, IActivitiesClient
{
+ ///
+ /// Instantiate a new GitHub Activities API client.
+ ///
+ /// An API connection
public ActivitiesClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/AssigneesClient.cs b/Octokit/Clients/AssigneesClient.cs
index 3d755e0a..aef05783 100644
--- a/Octokit/Clients/AssigneesClient.cs
+++ b/Octokit/Clients/AssigneesClient.cs
@@ -6,6 +6,10 @@ namespace Octokit
{
public class AssigneesClient : ApiClient, IAssigneesClient
{
+ ///
+ /// Instantiates a new GitHub Issue Assignees API client.
+ ///
+ /// An API connection
public AssigneesClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/BlobsClient.cs b/Octokit/Clients/BlobsClient.cs
index 4ac0b3b9..59370809 100644
--- a/Octokit/Clients/BlobsClient.cs
+++ b/Octokit/Clients/BlobsClient.cs
@@ -4,6 +4,10 @@ namespace Octokit
{
public class BlobsClient : ApiClient, IBlobsClient
{
+ ///
+ /// Instantiates a new GitHub Git Blobs API client.
+ ///
+ /// An API connection
public BlobsClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/CommitsClient.cs b/Octokit/Clients/CommitsClient.cs
index 095b4bc6..f159fe8d 100644
--- a/Octokit/Clients/CommitsClient.cs
+++ b/Octokit/Clients/CommitsClient.cs
@@ -4,6 +4,10 @@ namespace Octokit
{
public class CommitsClient : ApiClient, ICommitsClient
{
+ ///
+ /// Instantiates a new GitHub Git Commits API client.
+ ///
+ /// An API connection
public CommitsClient(IApiConnection apiConnection) :
base(apiConnection)
{
diff --git a/Octokit/Clients/EventsClient.cs b/Octokit/Clients/EventsClient.cs
index f21ed214..d26aa4f0 100644
--- a/Octokit/Clients/EventsClient.cs
+++ b/Octokit/Clients/EventsClient.cs
@@ -5,6 +5,10 @@ namespace Octokit
{
public class EventsClient : ApiClient, IEventsClient
{
+ ///
+ /// Instantiates a new GitHub Issue Events API client.
+ ///
+ /// An API connection
public EventsClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/GistCommentsClient.cs b/Octokit/Clients/GistCommentsClient.cs
index 1b708e43..cc3caa2f 100644
--- a/Octokit/Clients/GistCommentsClient.cs
+++ b/Octokit/Clients/GistCommentsClient.cs
@@ -5,6 +5,10 @@ namespace Octokit
{
public class GistCommentsClient : ApiClient, IGistCommentsClient
{
+ ///
+ /// Instantiates a new GitHub Gist Comments API client.
+ ///
+ /// An API connection
public GistCommentsClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/GistsClient.cs b/Octokit/Clients/GistsClient.cs
index 0a08b80f..425e20cc 100644
--- a/Octokit/Clients/GistsClient.cs
+++ b/Octokit/Clients/GistsClient.cs
@@ -4,6 +4,10 @@ namespace Octokit
{
public class GistsClient : ApiClient, IGistsClient
{
+ ///
+ /// Instantiates a new GitHub Gists API client.
+ ///
+ /// An API connection
public GistsClient(IApiConnection apiConnection) :
base(apiConnection)
{
diff --git a/Octokit/Clients/GitDatabaseClient.cs b/Octokit/Clients/GitDatabaseClient.cs
index 0b50317f..9d03a451 100644
--- a/Octokit/Clients/GitDatabaseClient.cs
+++ b/Octokit/Clients/GitDatabaseClient.cs
@@ -2,6 +2,10 @@
{
public class GitDatabaseClient : ApiClient, IGitDatabaseClient
{
+ ///
+ /// Instantiates a new GitHub Git API client.
+ ///
+ /// An API connection
public GitDatabaseClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/IActivitiesClient.cs b/Octokit/Clients/IActivitiesClient.cs
index ad1e4fcc..c2bd6b70 100644
--- a/Octokit/Clients/IActivitiesClient.cs
+++ b/Octokit/Clients/IActivitiesClient.cs
@@ -1,5 +1,11 @@
namespace Octokit
{
+ ///
+ /// A client for GitHub's Activity API.
+ ///
+ ///
+ /// See the Activity API documentation for more information.
+ ///
public interface IActivitiesClient
{
IEventsClient Events { get; }
diff --git a/Octokit/Clients/IAssigneesClient.cs b/Octokit/Clients/IAssigneesClient.cs
index 24de3c03..2d629751 100644
--- a/Octokit/Clients/IAssigneesClient.cs
+++ b/Octokit/Clients/IAssigneesClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Issue Assignees API.
+ ///
+ ///
+ /// See the Issue Assignees API documentation for more information.
+ ///
public interface IAssigneesClient
{
///
diff --git a/Octokit/Clients/IBlobsClient.cs b/Octokit/Clients/IBlobsClient.cs
index d063c59e..2d462464 100644
--- a/Octokit/Clients/IBlobsClient.cs
+++ b/Octokit/Clients/IBlobsClient.cs
@@ -2,6 +2,12 @@
namespace Octokit
{
+ ///
+ /// A client for GitHub's Git Blobs API.
+ ///
+ ///
+ /// See the Git Blobs API documentation for more information.
+ ///
public interface IBlobsClient
{
///
diff --git a/Octokit/Clients/ICommitStatusClient.cs b/Octokit/Clients/ICommitStatusClient.cs
index 81daf573..61065400 100644
--- a/Octokit/Clients/ICommitStatusClient.cs
+++ b/Octokit/Clients/ICommitStatusClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Git Repository Status API.
+ ///
+ ///
+ /// See the Repository Statuses API documentation for more information.
+ ///
public interface ICommitStatusClient
{
///
diff --git a/Octokit/Clients/ICommitsClient.cs b/Octokit/Clients/ICommitsClient.cs
index 6f187fd3..60cc0365 100644
--- a/Octokit/Clients/ICommitsClient.cs
+++ b/Octokit/Clients/ICommitsClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Git Commits API.
+ ///
+ ///
+ /// See the Git Commits API documentation for more information.
+ ///
public interface ICommitsClient
{
///
diff --git a/Octokit/Clients/IEventsClient.cs b/Octokit/Clients/IEventsClient.cs
index 378cc91a..8213b5bd 100644
--- a/Octokit/Clients/IEventsClient.cs
+++ b/Octokit/Clients/IEventsClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Activity Events API.
+ ///
+ ///
+ /// See the Activity Events API documentation for more information
+ ///
public interface IEventsClient
{
///
diff --git a/Octokit/Clients/IGistCommentsClient.cs b/Octokit/Clients/IGistCommentsClient.cs
index a9a5aeb8..3b60366f 100644
--- a/Octokit/Clients/IGistCommentsClient.cs
+++ b/Octokit/Clients/IGistCommentsClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Gist Comments API.
+ ///
+ ///
+ /// See the Gist Comments API documentation for more information.
+ ///
public interface IGistCommentsClient
{
///
diff --git a/Octokit/Clients/IGistsClient.cs b/Octokit/Clients/IGistsClient.cs
index a8a90fdb..3c1787a9 100644
--- a/Octokit/Clients/IGistsClient.cs
+++ b/Octokit/Clients/IGistsClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Gists API.
+ ///
+ ///
+ /// See the Gists API documentation for more information.
+ ///
public interface IGistsClient
{
IGistCommentsClient Comment { get; set; }
diff --git a/Octokit/Clients/IGitDatabaseClient.cs b/Octokit/Clients/IGitDatabaseClient.cs
index 0516b36a..e640c897 100644
--- a/Octokit/Clients/IGitDatabaseClient.cs
+++ b/Octokit/Clients/IGitDatabaseClient.cs
@@ -1,8 +1,11 @@
namespace Octokit
{
///
- /// Used to maintain api structure therefore contains no methods
+ /// A client for GitHub's Git Database API. Gives you access to read and write raw Git objects and to list and update your references.
///
+ ///
+ /// See the Git API documentation for more information.
+ ///
public interface IGitDatabaseClient
{
IBlobsClient Blob { get; set; }
diff --git a/Octokit/Clients/IIssueCommentsClient.cs b/Octokit/Clients/IIssueCommentsClient.cs
index 3836c5e1..7261018d 100644
--- a/Octokit/Clients/IIssueCommentsClient.cs
+++ b/Octokit/Clients/IIssueCommentsClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Issue Comments API.
+ ///
+ ///
+ /// See the Issue Comments API documentation for more information.
+ ///
public interface IIssueCommentsClient
{
///
diff --git a/Octokit/Clients/IIssuesClient.cs b/Octokit/Clients/IIssuesClient.cs
index ba5c7247..e2c84873 100644
--- a/Octokit/Clients/IIssuesClient.cs
+++ b/Octokit/Clients/IIssuesClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Issues API.
+ ///
+ ///
+ /// See the Issues API documentation for more information.
+ ///
public interface IIssuesClient
{
IAssigneesClient Assignee { get; }
diff --git a/Octokit/Clients/IIssuesEventsClient.cs b/Octokit/Clients/IIssuesEventsClient.cs
index 39afa005..6b711a9c 100644
--- a/Octokit/Clients/IIssuesEventsClient.cs
+++ b/Octokit/Clients/IIssuesEventsClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Issue Events API.
+ ///
+ ///
+ /// See the Issue Events API documentation for more information.
+ ///
public interface IIssuesEventsClient
{
///
diff --git a/Octokit/Clients/IMilestonesClient.cs b/Octokit/Clients/IMilestonesClient.cs
index b633e198..d0635db4 100644
--- a/Octokit/Clients/IMilestonesClient.cs
+++ b/Octokit/Clients/IMilestonesClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Issue Milestones API.
+ ///
+ ///
+ /// See the Issue Milestones API documentation for more information.
+ ///
public interface IMilestonesClient
{
///
diff --git a/Octokit/Clients/IMiscellaneousClient.cs b/Octokit/Clients/IMiscellaneousClient.cs
index 7c08bf4d..577c6c1b 100644
--- a/Octokit/Clients/IMiscellaneousClient.cs
+++ b/Octokit/Clients/IMiscellaneousClient.cs
@@ -11,7 +11,7 @@ namespace Octokit
/// A client for GitHub's miscellaneous APIs.
///
///
- /// See the miscellaneous API documentation for more details.
+ /// See the Miscellaneous API documentation for more details.
///
public interface IMiscellaneousClient
{
diff --git a/Octokit/Clients/INotificationsClient.cs b/Octokit/Clients/INotificationsClient.cs
index 241295f2..885bd4e7 100644
--- a/Octokit/Clients/INotificationsClient.cs
+++ b/Octokit/Clients/INotificationsClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Activity Notifications API.
+ ///
+ ///
+ /// See the Activity Notifications API documentation for more information.
+ ///
public interface INotificationsClient
{
///
diff --git a/Octokit/Clients/IOrganizationMembersClient.cs b/Octokit/Clients/IOrganizationMembersClient.cs
index f763a908..3ac23eb7 100644
--- a/Octokit/Clients/IOrganizationMembersClient.cs
+++ b/Octokit/Clients/IOrganizationMembersClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Organization Members API.
+ ///
+ ///
+ /// See the Orgs API documentation for more information.
+ ///
public interface IOrganizationMembersClient
{
///
diff --git a/Octokit/Clients/IReferencesClient.cs b/Octokit/Clients/IReferencesClient.cs
index 06aecfb8..10a9fe2c 100644
--- a/Octokit/Clients/IReferencesClient.cs
+++ b/Octokit/Clients/IReferencesClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's References API.
+ ///
+ ///
+ /// See the References API documentation for more information.
+ ///
public interface IReferencesClient
{
///
diff --git a/Octokit/Clients/ISshKeysClient.cs b/Octokit/Clients/ISshKeysClient.cs
index a66586f3..807d1e8f 100644
--- a/Octokit/Clients/ISshKeysClient.cs
+++ b/Octokit/Clients/ISshKeysClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's User Keys API.
+ ///
+ ///
+ /// See the Users API documentation for more information.
+ ///
public interface ISshKeysClient
{
///
diff --git a/Octokit/Clients/IStarredClient.cs b/Octokit/Clients/IStarredClient.cs
index 5dcbebfb..1110dbb7 100644
--- a/Octokit/Clients/IStarredClient.cs
+++ b/Octokit/Clients/IStarredClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Activity Starring API.
+ ///
+ ///
+ /// See the Activity Starring API documentation for more information.
+ ///
public interface IStarredClient
{
///
diff --git a/Octokit/Clients/ITagsClient.cs b/Octokit/Clients/ITagsClient.cs
index ba07c693..86ce2caf 100644
--- a/Octokit/Clients/ITagsClient.cs
+++ b/Octokit/Clients/ITagsClient.cs
@@ -3,6 +3,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Git Tags API.
+ ///
+ ///
+ /// See the Git Tags API documentation for more information.
+ ///
public interface ITagsClient
{
///
diff --git a/Octokit/Clients/ITeamsClient.cs b/Octokit/Clients/ITeamsClient.cs
index 31c02b70..a2abafab 100644
--- a/Octokit/Clients/ITeamsClient.cs
+++ b/Octokit/Clients/ITeamsClient.cs
@@ -7,10 +7,10 @@ using System.Threading.Tasks;
namespace Octokit
{
///
- /// A client for GitHub's Org Teams API.
+ /// A client for GitHub's Organization Teams API.
///
///
- /// See the Orgs API documentation for more information.
+ /// See the Organization Teams API documentation for more information.
///
public interface ITeamsClient
{
diff --git a/Octokit/Clients/ITreesClient.cs b/Octokit/Clients/ITreesClient.cs
index 54ae836e..aad5234d 100644
--- a/Octokit/Clients/ITreesClient.cs
+++ b/Octokit/Clients/ITreesClient.cs
@@ -2,6 +2,12 @@
namespace Octokit
{
+ ///
+ /// A client for GitHub's Git Trees API.
+ ///
+ ///
+ /// See the Git Trees API documentation for more information.
+ ///
public interface ITreesClient
{
///
diff --git a/Octokit/Clients/IUsersClient.cs b/Octokit/Clients/IUsersClient.cs
index a42dc2ae..8cc36b14 100644
--- a/Octokit/Clients/IUsersClient.cs
+++ b/Octokit/Clients/IUsersClient.cs
@@ -4,6 +4,12 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A client for GitHub's Users API.
+ ///
+ ///
+ /// See the Users API documentation for more information.
+ ///
public interface IUsersClient
{
///
diff --git a/Octokit/Clients/IssueCommentsClient.cs b/Octokit/Clients/IssueCommentsClient.cs
index 476e63ba..b3df3a69 100644
--- a/Octokit/Clients/IssueCommentsClient.cs
+++ b/Octokit/Clients/IssueCommentsClient.cs
@@ -6,6 +6,10 @@ namespace Octokit
{
public class IssueCommentsClient : ApiClient, IIssueCommentsClient
{
+ ///
+ /// Instantiates a new GitHub Issue Comments API client.
+ ///
+ /// An API connection
public IssueCommentsClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/IssuesClient.cs b/Octokit/Clients/IssuesClient.cs
index 85209fab..fe710eae 100644
--- a/Octokit/Clients/IssuesClient.cs
+++ b/Octokit/Clients/IssuesClient.cs
@@ -5,6 +5,10 @@ namespace Octokit
{
public class IssuesClient : ApiClient, IIssuesClient
{
+ ///
+ /// Instantiates a new GitHub Issues API client.
+ ///
+ /// An API connection
public IssuesClient(IApiConnection apiConnection) : base(apiConnection)
{
Assignee = new AssigneesClient(apiConnection);
diff --git a/Octokit/Clients/MilestonesClient.cs b/Octokit/Clients/MilestonesClient.cs
index d93b74da..bb59cd09 100644
--- a/Octokit/Clients/MilestonesClient.cs
+++ b/Octokit/Clients/MilestonesClient.cs
@@ -5,6 +5,10 @@ namespace Octokit
{
public class MilestonesClient : ApiClient, IMilestonesClient
{
+ ///
+ /// Instantiates a new GitHub Issue Milestones API client.
+ ///
+ /// An API connection
public MilestonesClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/NotificationsClient.cs b/Octokit/Clients/NotificationsClient.cs
index ab2fcf36..ae500c9e 100644
--- a/Octokit/Clients/NotificationsClient.cs
+++ b/Octokit/Clients/NotificationsClient.cs
@@ -6,6 +6,10 @@ namespace Octokit
{
public class NotificationsClient : ApiClient, INotificationsClient
{
+ ///
+ /// Instantiates a new GitHub Activity Notifications API client.
+ ///
+ /// An API connection
public NotificationsClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/ReferencesClient.cs b/Octokit/Clients/ReferencesClient.cs
index 9ba48437..783e150e 100644
--- a/Octokit/Clients/ReferencesClient.cs
+++ b/Octokit/Clients/ReferencesClient.cs
@@ -5,6 +5,10 @@ namespace Octokit
{
public class ReferencesClient : ApiClient, IReferencesClient
{
+ ///
+ /// Instantiates a new GitHub References API client
+ ///
+ /// An API connection
public ReferencesClient(IApiConnection apiConnection) :
base(apiConnection)
{
diff --git a/Octokit/Clients/StarredClient.cs b/Octokit/Clients/StarredClient.cs
index 94ff2849..c8b1ea24 100644
--- a/Octokit/Clients/StarredClient.cs
+++ b/Octokit/Clients/StarredClient.cs
@@ -7,6 +7,10 @@ namespace Octokit
{
public class StarredClient : ApiClient, IStarredClient
{
+ ///
+ /// Instantiates a new GitHub Activity Starring API client.
+ ///
+ /// An API connection
public StarredClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Clients/TagsClient.cs b/Octokit/Clients/TagsClient.cs
index 099f1d5e..b43e76b3 100644
--- a/Octokit/Clients/TagsClient.cs
+++ b/Octokit/Clients/TagsClient.cs
@@ -4,6 +4,10 @@ namespace Octokit
{
public class TagsClient : ApiClient, ITagsClient
{
+ ///
+ /// Instantiates a new GitHub Git Tags API client.
+ ///
+ /// An API connection
public TagsClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/TreesClient.cs b/Octokit/Clients/TreesClient.cs
index 3d109fa9..80b8361f 100644
--- a/Octokit/Clients/TreesClient.cs
+++ b/Octokit/Clients/TreesClient.cs
@@ -6,6 +6,10 @@ namespace Octokit
{
public class TreesClient : ApiClient, ITreesClient
{
+ ///
+ /// Instantiates a new GitHub Git Trees API client.
+ ///
+ /// An API connection
public TreesClient(IApiConnection apiConnection)
: base(apiConnection)
{
diff --git a/Octokit/Clients/UsersClient.cs b/Octokit/Clients/UsersClient.cs
index b61870d3..8263ed37 100644
--- a/Octokit/Clients/UsersClient.cs
+++ b/Octokit/Clients/UsersClient.cs
@@ -15,6 +15,10 @@ namespace Octokit
{
static readonly Uri _userEndpoint = new Uri("user", UriKind.Relative);
+ ///
+ /// Instantiates a new GitHub Users API client.
+ ///
+ /// An API connection
public UsersClient(IApiConnection apiConnection) : base(apiConnection)
{
}
diff --git a/Octokit/Http/IConnection.cs b/Octokit/Http/IConnection.cs
index a7c01b13..94862b84 100644
--- a/Octokit/Http/IConnection.cs
+++ b/Octokit/Http/IConnection.cs
@@ -5,23 +5,100 @@ using System.Threading.Tasks;
namespace Octokit
{
+ ///
+ /// A connection for making HTTP requests against URI endpoints.
+ ///
public interface IConnection
{
+ ///
+ /// Performs an asynchronous HTTP GET request that expects a containing HTML.
+ ///
+ /// URI endpoint to send request to
+ /// Querystring parameters for the request
+ /// representing the received HTTP response
Task> GetHtml(Uri uri, IDictionary parameters);
+
+ ///
+ /// Performs an asynchronous HTTP GET request.
+ /// Attempts to map the response to an object of type
+ ///
+ /// The type to map the response to
+ /// URI endpoint to send request to
+ /// Querystring parameters for the request
+ /// Specifies accepted response media types.
+ /// representing the received HTTP response
Task> GetAsync(Uri uri, IDictionary parameters, string accepts);
+
+ ///
+ /// Performs an asynchronous HTTP PATCH request.
+ /// Attempts to map the response body to an object of type
+ ///
+ /// The type to map the response to
+ /// URI endpoint to send request to
+ /// The object to serialize as the body of the request
+ /// representing the received HTTP response
Task> PatchAsync(Uri uri, object body);
+
+ ///
+ /// Performs an asynchronous HTTP POST request.
+ /// Attempts to map the response body to an object of type
+ ///
+ /// The type to map the response to
+ /// URI endpoint to send request to
+ /// The object to serialize as the body of the request
+ /// Specifies accepted response media types.
+ /// Specifies the media type of the request body
+ /// representing the received HTTP response
Task> PostAsync(Uri uri, object body, string accepts, string contentType);
+
+ ///
+ /// Performs an asynchronous HTTP PUT request.
+ /// Attempts to map the response body to an object of type
+ ///
+ /// The type to map the response to
+ /// URI endpoint to send request to
+ /// The body of the request
+ /// representing the received HTTP response
Task> PutAsync(Uri uri, object body);
+
+ ///
+ /// Performs an asynchronous HTTP PUT request using the provided two factor authentication code.
+ /// Attempts to map the response body to an object of type
+ ///
+ /// The type to map the response to
+ /// URI endpoint to send request to
+ /// The object to serialize as the body of the request
+ /// Two factory authentication code to use
+ /// representing the received HTTP response
Task> PutAsync(Uri uri, object body, string twoFactorAuthenticationCode);
-
+
+ ///
+ /// Performs an asynchronous HTTP PUT request that expects an empty response.
+ ///
+ /// URI endpoint to send request to
+ /// The returned
Task PutAsync(Uri uri);
+ ///
+ /// Performs an asynchronous HTTP DELETE request that expects an empty response.
+ ///
+ /// URI endpoint to send request to
+ /// The returned
Task DeleteAsync(Uri uri);
+ ///
+ /// Base address for the connection.
+ ///
Uri BaseAddress { get; }
+ ///
+ /// Gets the used to provide credentials for the connection.
+ ///
ICredentialStore CredentialStore { get; }
+ ///
+ /// Gets or sets the credentials used by the connection.
+ ///
Credentials Credentials { get; set; }
}
}