Skip to content

Commit 943658b

Browse files
authored
Improve Intellisense comments for HttpClient (#384)
***NO_CI***
1 parent 2a553d9 commit 943658b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nanoFramework.System.Net.Http/Http/HttpClient.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ namespace System.Net.Http
1515
/// <summary>
1616
/// Initializes a new instance of the HttpClient class.
1717
/// </summary>
18+
/// <remarks>
19+
/// The HttpClient class instance acts as a session to send HTTP requests.
20+
/// An HttpClient instance is a collection of settings applied to all requests executed by that instance.
21+
/// In addition, every HttpClient instance uses its own connection pool,
22+
/// isolating its requests from requests executed by other HttpClient instances.
23+
///
24+
/// HttpClient is intended to be instantiated once and reused throughout the life of an application.
25+
/// </remarks>
1826
public partial class HttpClient : HttpMessageInvoker
1927
{
2028
private const HttpCompletionOption DefaultCompletionOption = HttpCompletionOption.ResponseContentRead;

0 commit comments

Comments
 (0)