Sdílet prostřednictvím


HttpClient.GetStringAsync Method

Sends a GET request to the specified Uri and returns the response body as a string in an asynchronous operation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetStringAsync(String) Sends a GET request to the specified Uri and returns the response body as a string in an asynchronous operation.
Public method GetStringAsync(Uri) Sends a GET request to the specified Uri and returns the response body as a string in an asynchronous operation.

Top

See Also

Reference

HttpClient Class

System.Net.Http Namespace