C# Class Aliyun.Acs.Core.Http.HttpResponse

Inheritance: HttpRequest
Mostra file Open project: aliyun/aliyun-openapi-net-sdk Class Usage Examples

Public Methods

Method Description
CheckValidationResult ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool
GetResponse ( HttpRequest request ) : HttpResponse
GetWebRequest ( HttpRequest request ) : HttpWebRequest
HttpResponse ( ) : System
HttpResponse ( string strUrl ) : System
ReadContent ( HttpResponse response, HttpWebResponse rsp ) : byte[]
SetContent ( byte content, string encoding, FormatType format ) : void
isSuccess ( ) : bool

Private Methods

Method Description
PasrseHttpResponse ( HttpResponse httpResponse, HttpWebResponse httpWebResponse ) : void

Method Details

CheckValidationResult() public static method

public static CheckValidationResult ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool
sender object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
errors SslPolicyErrors
return bool

GetResponse() public static method

public static GetResponse ( HttpRequest request ) : HttpResponse
request HttpRequest
return HttpResponse

GetWebRequest() public static method

public static GetWebRequest ( HttpRequest request ) : HttpWebRequest
request HttpRequest
return System.Net.HttpWebRequest

HttpResponse() public method

public HttpResponse ( ) : System
return System

HttpResponse() public method

public HttpResponse ( string strUrl ) : System
strUrl string
return System

ReadContent() public static method

public static ReadContent ( HttpResponse response, HttpWebResponse rsp ) : byte[]
response HttpResponse
rsp System.Net.HttpWebResponse
return byte[]

SetContent() public method

public SetContent ( byte content, string encoding, FormatType format ) : void
content byte
encoding string
format FormatType
return void

isSuccess() public method

public isSuccess ( ) : bool
return bool