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
<summary>The default message handler used by <seecref="T:System.Net.Http.HttpClient" /> on Apple platforms using the Xamarin stack (iOS, macOS, watchOS, tvOS)</summary>
18
+
<remarks>
19
+
<para>The NSUrlSessionHandler is an HTTP client handler that delegates its work to Apple’s built-in <seecref="T:Foundation.NSUrlSession" />. This is the default when you compile your application, but you can opt-out of it manually in your application by selecting a different handler. </para>
20
+
<para />
21
+
<para>Using the Apple NSUrlSession has some advantages over using any socket-based implementation, the chief one being that on a mobile device, it will automatically turn on the radio on your behalf and you will avoid a potential timeout or an error if the radio is down.</para>
22
+
<para />
23
+
<para>Additionally, you can configure the handler to continue your downloads even if your application is suspended or has stopped running.</para>
24
+
</remarks>
19
25
</Docs>
20
26
<Members>
21
27
<MemberMemberName=".ctor">
@@ -31,7 +37,7 @@
31
37
</AssemblyInfo>
32
38
<Parameters />
33
39
<Docs>
34
-
<summary>To be added.</summary>
40
+
<summary>The default constructor for NSUrlSessionHandler configures the handler with a <seecref="T:Foundation.NSUrlSessionConfiguration" /> set to the default value, and customizes the resources time out to be 24 hours (as infinite timeouts are not supported by Apple’s own transport).</summary>
35
41
<remarks>To be added.</remarks>
36
42
</Docs>
37
43
</Member>
@@ -51,8 +57,8 @@
51
57
<ReturnType>System.Boolean</ReturnType>
52
58
</ReturnValue>
53
59
<Docs>
54
-
<summary>To be added.</summary>
55
-
<value>To be added.</value>
60
+
<summary>Gets or sets a value that allows automatic redirection. Its default value is <seelangword="true" />.</summary>
61
+
<value><seelangword="true" /> to allow automatic redirection; otherwise, <seelangword="false" />.</value>
56
62
<remarks>To be added.</remarks>
57
63
</Docs>
58
64
</Member>
@@ -72,8 +78,8 @@
72
78
<ReturnType>System.Net.ICredentials</ReturnType>
73
79
</ReturnValue>
74
80
<Docs>
75
-
<summary>To be added.</summary>
76
-
<value>To be added.</value>
81
+
<summary>Gets or sets authentication information used by this handler.</summary>
82
+
<value>The authentication credentials associated with the handler. The default is <seelangword="null" />.</value>
<paramname="cancellationToken">To be added.</param>
151
-
<summary>To be added.</summary>
152
-
<returns>To be added.</returns>
153
-
<remarks>To be added.</remarks>
155
+
<paramname="request">The HTTP request message to send.</param>
156
+
<paramname="cancellationToken">The cancellation token to cancel the operation.</param>
157
+
<summary>Sends an HTTP request as an asynchronous operation.</summary>
158
+
<returns>The task object representing the asynchronous operation.</returns>
159
+
<remarks>This operation is does not block. It returns an instance of <seecref="T:System.Threading.Tasks.Task`1" /> to represent the asynchronous operation. When the operation completes, <seecref="P:System.Threading.Tasks.Task`1.Result" /> contains the response message.</remarks>
0 commit comments