WebClient.DownloadStringAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 8.0.9673)
DownloadStringAsync(String, Object)
Downloads a resource from provided URI as a string.
Declaration
public Task<string> DownloadStringAsync(string uri, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | uri | Uri to retrieve resource from. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<String> | String containing a resource. |
DownloadStringAsync(Uri, Object)
Downloads a resource from provided URI as a string.
Declaration
public Task<string> DownloadStringAsync(Uri uri, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | Uri to retrieve resource from. |
| Object | state | An object containing state information for this request. |
Returns
| Type | Description |
|---|---|
| Task<String> | String containing a resource. |