You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nanoFramework.System.Net.Http/Http/HttpClient.cs
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ namespace System.Net.Http
20
20
/// In addition, every HttpClient instance uses its own connection pool,
21
21
/// isolating its requests from requests executed by other HttpClient instances.
22
22
///
23
-
/// HttpClient is intended to be instantiated once and reused throughout the life of an application.
23
+
/// HttpClient is intended to be instantiated once and reused throughout the life of an application.
24
24
/// </remarks>
25
25
publicpartialclassHttpClient:HttpMessageInvoker
26
26
{
@@ -352,6 +352,19 @@ public string GetString(string requestUri)
352
352
353
353
#region Advanced Send Overloads
354
354
355
+
/// <summary>
356
+
/// Sends an HTTP request with the specified request.
357
+
/// </summary>
358
+
/// <param name="request">The HTTP request message to send.</param>
359
+
/// <returns>The HTTP response message.</returns>
360
+
/// <exception cref="ArgumentNullException">The request is <see langword="null"/>.</exception>
361
+
/// <exception cref="InvalidOperationException">The request message was already sent by the <see cref="HttpClient"/> instance.</exception>
362
+
/// <exception cref="HttpRequestException">The request failed due to an underlying issue such as network connectivity, DNS failure, or server certificate validation.</exception>
0 commit comments