C# Class DeployToAzure.Management.Http

Inheritance: IHttp
Mostra file Open project: mg-alfa-dev/DeployToAzure Class Usage Examples

Public Methods

Method Description
Delete ( string uri ) : HttpResponse
Get ( string uri ) : HttpResponse
Http ( X509Certificate2 certificate ) : System
Post ( string uri, string content ) : HttpResponse

Private Methods

Method Description
GetResponseContent ( WebException exception ) : string
Internal ( string method, string uri, string requestBody ) : HttpResponse
Request ( string uri, string method ) : HttpWebRequest

Method Details

Delete() public method

public Delete ( string uri ) : HttpResponse
uri string
return HttpResponse

Get() public method

public Get ( string uri ) : HttpResponse
uri string
return HttpResponse

Http() public method

public Http ( X509Certificate2 certificate ) : System
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return System

Post() public method

public Post ( string uri, string content ) : HttpResponse
uri string
content string
return HttpResponse