Represents an asynchronous response.
More...
|
HttpResponseMessage | Source [get] |
| Gets the source of the response. More...
|
|
int | StatusCode [get] |
| Gets the status code of the response. More...
|
|
IDictionary< string, string > | Headers [get] |
| Gets the headers of the response. More...
|
|
Represents an asynchronous response.
◆ AsyncResponse()
CoreTweet.AsyncResponse.AsyncResponse |
( |
HttpResponseMessage |
source | ) |
|
|
inline |
Initializes a new instance of the AsyncResponse class with a specified source.
◆ Dispose()
void CoreTweet.AsyncResponse.Dispose |
( |
| ) |
|
|
inline |
Closes the stream and releases all the resources.
◆ GetResponseStreamAsync()
Task<Stream> CoreTweet.AsyncResponse.GetResponseStreamAsync |
( |
| ) |
|
|
inline |
Gets the stream that is used to read the body of the response from the server as an asynchronous operation.
- Returns
- The task object representing the asynchronous operation.
The Result property on the task object returns the System.IO.Stream containing the body of the response.
◆ Headers
IDictionary<string, string> CoreTweet.AsyncResponse.Headers |
|
get |
Gets the headers of the response.
◆ Source
HttpResponseMessage CoreTweet.AsyncResponse.Source |
|
get |
Gets the source of the response.
◆ StatusCode
int CoreTweet.AsyncResponse.StatusCode |
|
get |
Gets the status code of the response.
The documentation for this class was generated from the following file: