Beispiel #1
0
 public HttpApiClientResponse(HttpResponseMessage response)
 {
     this.response       = response;
     Content             = new HttpApiClientResponseContent(response.Content);
     IsSuccessStatusCode = response.IsSuccessStatusCode;
     StatusCode          = (int)response.StatusCode;
 }
Beispiel #2
0
 public HttpApiClientResponse(HttpResponseMessage response)
 {
     this._response      = response;
     Headers             = response.Headers;
     Content             = new HttpApiClientResponseContent(response.Content);
     IsSuccessStatusCode = response.IsSuccessStatusCode;
     StatusCode          = response.StatusCode;
 }