Partager via


GitHttpClient Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase
    Microsoft.TeamFoundation.SourceControl.WebApi.GitHttpClient

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Class GitHttpClient _
    Inherits VssHttpClientBase
public class GitHttpClient : VssHttpClientBase
public ref class GitHttpClient : public VssHttpClientBase
type GitHttpClient =  
    class 
        inherit VssHttpClientBase 
    end
public class GitHttpClient extends VssHttpClientBase

The GitHttpClient type exposes the following members.

Constructors

  Name Description
Public method GitHttpClient(Uri, VssCredentials)
Public method GitHttpClient(Uri, VssCredentials, VssHttpRequestSettings)
Public method GitHttpClient(Uri, VssCredentials, array<DelegatingHandler[])
Public method GitHttpClient(Uri, VssCredentials, VssHttpRequestSettings, array<DelegatingHandler[])

Top

Properties

  Name Description
Public property Client (Inherited from VssHttpClientBase.)
Public property DefaultRequestHeaders (Inherited from VssHttpClientBase.)
Protected property Formatter (Inherited from VssHttpClientBase.)
Public property LastResponseContext (Inherited from VssHttpClientBase.)
Public property MaxResponseContentBufferSize (Inherited from VssHttpClientBase.)
Public property Timeout (Inherited from VssHttpClientBase.)
Protected property TranslatedExceptions (Inherited from VssHttpClientBase.)

Top

Methods

  Name Description
Public method CreateRepositoryAsync
Protected method CreateRequestMessage (Inherited from VssHttpClientBase.)
Protected method CreateRequestMessageAsync (Inherited from VssHttpClientBase.)
Protected method DeleteAsync (Inherited from VssHttpClientBase.)
Public method DeleteRepositoryAsync
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Public method GetBlobAsync
Public method GetBlobContentAsync
Public method GetBlobZipAsync
Public method GetBranchesStatisticsAsync
Public method GetBranchRefsAsync
Public method GetBranchStatisticsAsync
Public method GetCommitDifferencesAsync
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetItemsAsync
Public method GetItemsBatchAsync
Public method GetProjectRepositoriesAsync
Public method GetRefsAsync
Public method GetRepositoriesAsync
Public method GetRepositoryAsync
Protected method GetResourceLocationAsync (Inherited from VssHttpClientBase.)
Public method GetTagRefsAsync
Public method GetTreeAsync
Public method GetTreeZipAsync
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HandleResponse (Inherited from VssHttpClientBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NegotiateRequestVersion (Inherited from VssHttpClientBase.)
Protected method NegotiateRequestVersionAsync (Inherited from VssHttpClientBase.)
Protected method PatchAsync(Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PatchAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PatchAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PostAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PostAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PutAsync<T>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method PutAsync<T, TResult>(T, Guid, Object, ApiResourceVersion, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Public method RenameRepositoryAsync
Protected method Send(HttpRequestMessage, Object) (Inherited from VssHttpClientBase.)
Protected method Send(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Protected method SendAsync(HttpRequestMessage, HttpCompletionOption, Object, CancellationToken) (Inherited from VssHttpClientBase.)
Protected method SendAsync<T>(HttpRequestMessage, Object, CancellationToken) (Inherited from VssHttpClientBase.)
Protected method SendAsync<T>(HttpMethod, Guid, Object, ApiResourceVersion, HttpContent, NameValueCollection, Object) (Inherited from VssHttpClientBase.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.SourceControl.WebApi Namespace