Skip to content

Instantly share code, notes, and snippets.

@jesuscampos
Created October 14, 2018 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesuscampos/08527a95aa91f14687b37895dcccf68e to your computer and use it in GitHub Desktop.
Save jesuscampos/08527a95aa91f14687b37895dcccf68e to your computer and use it in GitHub Desktop.
private async Task<string> DoWorkAsync()
{
HttpClient client = new HttpClient();
string result = await client.GetStringAsync(url);
return $"Result: {result}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment