Méthode | Description | |
---|---|---|
Response ( HttpStatusCode statusCode, IList |
Initializes a new instance of the Response class with the given HTTP status code, headers, and raw body.
|
|
Response ( HttpStatusCode responseCode, string status, IList |
Initializes a new instance of the Response class with the given HTTP status code, status, headers, and raw body.
|
public Response ( HttpStatusCode statusCode, IList |
||
statusCode | HttpStatusCode | The HTTP status code. |
headers | IList |
A collection of all HTTP headers included with this response. |
rawBody | string | /// The raw body of this HTTP response as a text string. When included in the response, this /// value should be loaded with the encoding specified in the Content-Encoding and/or /// Content-Type HTTP headers. /// |
Résultat | System |
public Response ( HttpStatusCode responseCode, string status, IList |
||
responseCode | HttpStatusCode | The HTTP status code. |
status | string | A string representation of the HTTP status code. |
headers | IList |
A collection of all HTTP headers included with this response. |
rawBody | string | /// The raw body of this HTTP response as a text string. When included in the response, this /// value should be loaded with the encoding specified in the Content-Encoding and/or /// Content-Type HTTP headers. /// |
Résultat | System |