C# 클래스 JSIStudios.SimpleRESTServices.Client.Response

파일 보기 프로젝트 열기: JSIStudios/SimpleRestServices 1 사용 예제들

공개 메소드들

메소드 설명
Response ( HttpStatusCode statusCode, IList headers, string rawBody ) : System

Initializes a new instance of the Response class with the given HTTP status code, headers, and raw body.

Response ( HttpStatusCode responseCode, string status, IList headers, string rawBody ) : System

Initializes a new instance of the Response class with the given HTTP status code, status, headers, and raw body.

메소드 상세

Response() 공개 메소드

Initializes a new instance of the Response class with the given HTTP status code, headers, and raw body.
public Response ( HttpStatusCode statusCode, IList headers, string rawBody ) : System
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. ///
리턴 System

Response() 공개 메소드

Initializes a new instance of the Response class with the given HTTP status code, status, headers, and raw body.
public Response ( HttpStatusCode responseCode, string status, IList headers, string rawBody ) : System
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. ///
리턴 System