Skip to content

Commit 2f85441

Browse files
Jan JahodaJan Jahodagewarren
authored
Documentation for System.Net.Http.SocketsHttpHandler.ConnectCallback (#4861)
* Documentation for System.Net.Http.SocketsHttpHandler.ConnectCallback * Apply PR comments * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Genevieve Warren <[email protected]>
1 parent e30f409 commit 2f85441

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

xml/System.Net.Http/SocketsHttpConnectionContext.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</Base>
1515
<Interfaces />
1616
<Docs>
17-
<summary>To be added.</summary>
17+
<summary>Represents the context passed to the <see cref="P:System.Net.Http.SocketsHttpHandler.ConnectCallback" /> for a <see cref="T:System.Net.Http.SocketsHttpHandler" /> instance. .</summary>
1818
<remarks>To be added.</remarks>
1919
</Docs>
2020
<Members>
@@ -34,7 +34,7 @@
3434
<ReturnType>System.Net.DnsEndPoint</ReturnType>
3535
</ReturnValue>
3636
<Docs>
37-
<summary>To be added.</summary>
37+
<summary>Gets the DNS endpoint to be used by the <see cref="P:System.Net.Http.SocketsHttpHandler.ConnectCallback" /> to establish the connection.</summary>
3838
<value>To be added.</value>
3939
<remarks>To be added.</remarks>
4040
</Docs>
@@ -55,7 +55,7 @@
5555
<ReturnType>System.Net.Http.HttpRequestMessage</ReturnType>
5656
</ReturnValue>
5757
<Docs>
58-
<summary>To be added.</summary>
58+
<summary>Gets the initial request message that is causing the connection to be created.</summary>
5959
<value>To be added.</value>
6060
<remarks>To be added.</remarks>
6161
</Docs>

xml/System.Net.Http/SocketsHttpHandler.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ If this change is undesirable, you can configure your application to use the old
152152
<ReturnType>System.Func&lt;System.Net.Http.SocketsHttpConnectionContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask&lt;System.IO.Stream&gt;&gt;</ReturnType>
153153
</ReturnValue>
154154
<Docs>
155-
<summary>To be added.</summary>
156-
<value>To be added.</value>
155+
<summary>Gets or sets a custom callback used to open new connections.</summary>
156+
<value>A callback method to create a stream.</value>
157157
<remarks>To be added.</remarks>
158158
</Docs>
159159
</Member>

0 commit comments

Comments
 (0)