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

Inheritance: HttpRequest
Afficher le fichier Open project: aliyun/aliyun-openapi-net-sdk Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
PasrseHttpResponse ( HttpResponse httpResponse, HttpWebResponse httpWebResponse ) : void

Method Details

CheckValidationResult() public static méthode

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
Résultat bool

GetResponse() public static méthode

public static GetResponse ( HttpRequest request ) : HttpResponse
request HttpRequest
Résultat HttpResponse

GetWebRequest() public static méthode

public static GetWebRequest ( HttpRequest request ) : HttpWebRequest
request HttpRequest
Résultat System.Net.HttpWebRequest

HttpResponse() public méthode

public HttpResponse ( ) : System
Résultat System

HttpResponse() public méthode

public HttpResponse ( string strUrl ) : System
strUrl string
Résultat System

ReadContent() public static méthode

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

SetContent() public méthode

public SetContent ( byte content, string encoding, FormatType format ) : void
content byte
encoding string
format FormatType
Résultat void

isSuccess() public méthode

public isSuccess ( ) : bool
Résultat bool