Skip to content

Commit 2829921

Browse files
Update Program.CancellationStream.cs (#48220)
1 parent ebc7faf commit 2829921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/fundamentals/networking/snippets/httpclient/Program.CancellationStream.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ static async Task WithCancellationExtensionsAsync(HttpClient httpClient)
55
// <helpers>
66
try
77
{
8-
// These extension methods will throw HttpRequestException
9-
// with StatusCode set when the HTTP request status code isn't 2xx:
8+
// These methods will throw HttpRequestException
9+
// with StatusCode set when the HTTP response status code isn't 2xx:
1010
//
1111
// GetByteArrayAsync
1212
// GetStreamAsync

0 commit comments

Comments
 (0)