Skip to content

Commit 488091c

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents dfea89e + e35ffd8 commit 488091c

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

docs/docs/usage/response.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ All `Execute{Method}Async` functions return an instance of `RestResponse`. Simil
77

88
Response object contains the following properties:
99

10-
| Property | Type | Description |
11-
|--------------------------|-----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
12-
| `Request` | `RestRequest` | Request instance that was used to get the response. |
13-
| `ContentType` | `string?` | Response content type. `Null` if response has no content. |
14-
| `ContentLength` | `long?` | Response content length. `Null` if response has no content. |
15-
| `ContentEncoding` | `ICollection<string>` | Content encoding collection. Empty if response has no content. |
16-
| `Content` | `string?` | Response content as string. `Null` if response has no content. |
17-
| `IsSuccessfulStatusCode` | `bool` | Indicates if response was successful, so no errors were reported by the server. Note that `404` response code means success. |
18-
| `ResponseStatus` | `None`, `Completed`, `Error`, `TimedOut`, `Aborted` | Response completion status. Note that completed responses might still return errors. |
19-
| `IsSuccessful` | `bool` | `True` when `IsSuccessfulStatusCode` is `true` and `ResponseStatus` is `Completed`. |
20-
| `StatusDescription` | `string?` | Response status description, if available. |
21-
| `RawBytes` | `byte[]?` | Response content as byte array. `Null` if response has no content. |
22-
| `ResponseUri` | `Uri?` | URI of the response, which might be different from request URI in case of redirects. |
23-
| `Server` | `string?` | Server header value of the response. |
24-
| `Cookies` | `CookieCollection?` | Collection of cookies received with the response, if any. |
25-
| `Headers` | Collection of `HeaderParameter` | Response headers. |
26-
| `ContentHeaders` | Collection of `HeaderParameter` | Response content headers. |
27-
| `ErrorMessage` | `string?` | Transport or another non-HTTP error generated while attempting request. |
28-
| `ErrorException` | `Exception?` | Exception thrown when executing the request, if any. |
29-
| `Version` | `Version?` | HTTP protocol version of the request. |
30-
| `RootElement` | `string?` | Root element of the serialized response content, only works if deserializer supports it. |
10+
| Property | Type | Description |
11+
|--------------------------|-----------------------------------------------------|------------------------------------------------------------------------------------------|
12+
| `Request` | `RestRequest` | Request instance that was used to get the response. |
13+
| `ContentType` | `string?` | Response content type. `Null` if response has no content. |
14+
| `ContentLength` | `long?` | Response content length. `Null` if response has no content. |
15+
| `ContentEncoding` | `ICollection<string>` | Content encoding collection. Empty if response has no content. |
16+
| `Content` | `string?` | Response content as string. `Null` if response has no content. |
17+
| `IsSuccessfulStatusCode` | `bool` | Indicates if response was successful, so no errors were reported by the server. |
18+
| `ResponseStatus` | `None`, `Completed`, `Error`, `TimedOut`, `Aborted` | Response completion status. Note that completed responses might still return errors. |
19+
| `IsSuccessful` | `bool` | `True` when `IsSuccessfulStatusCode` is `true` and `ResponseStatus` is `Completed`. |
20+
| `StatusDescription` | `string?` | Response status description, if available. |
21+
| `RawBytes` | `byte[]?` | Response content as byte array. `Null` if response has no content. |
22+
| `ResponseUri` | `Uri?` | URI of the response, which might be different from request URI in case of redirects. |
23+
| `Server` | `string?` | Server header value of the response. |
24+
| `Cookies` | `CookieCollection?` | Collection of cookies received with the response, if any. |
25+
| `Headers` | Collection of `HeaderParameter` | Response headers. |
26+
| `ContentHeaders` | Collection of `HeaderParameter` | Response content headers. |
27+
| `ErrorMessage` | `string?` | Transport or another non-HTTP error generated while attempting request. |
28+
| `ErrorException` | `Exception?` | Exception thrown when executing the request, if any. |
29+
| `Version` | `Version?` | HTTP protocol version of the request. |
30+
| `RootElement` | `string?` | Root element of the serialized response content, only works if deserializer supports it. |
3131

3232
In addition, `RestResponse<T>` has one additional property:
3333

0 commit comments

Comments
 (0)