Skip to content

Commit 6e779a7

Browse files
authored
Fix copy paste mistake (dotnet#5435)
Fix copy paste mistake and improve phrasing of RequestHeaderEncodingSelector and ResponseHeaderEncodingSelector.
1 parent faf4e93 commit 6e779a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Net.Http/SocketsHttpHandler.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
724724
<ReturnType>System.Net.Http.HeaderEncodingSelector&lt;System.Net.Http.HttpRequestMessage&gt;</ReturnType>
725725
</ReturnValue>
726726
<Docs>
727-
<summary>Gets or sets a callback that decodes request headers values.</summary>
728-
<value>The header encoding selector callback to decode the value for the specified response header name, or <see langword="null" /> to indicate the default behavior.</value>
727+
<summary>Gets or sets a callback that selects the <see cref="System.Text.Encoding"/> to encode request header values.</summary>
728+
<value>The header encoding selector callback that selects the <see cref="System.Text.Encoding"/> to encode the value for the specified request header name, or <see langword="null" /> to indicate the default behavior.</value>
729729
<remarks>To be added.</remarks>
730730
</Docs>
731731
</Member>
@@ -774,8 +774,8 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
774774
<ReturnType>System.Net.Http.HeaderEncodingSelector&lt;System.Net.Http.HttpRequestMessage&gt;</ReturnType>
775775
</ReturnValue>
776776
<Docs>
777-
<summary>Gets or sets a callback that decodes response headers values.</summary>
778-
<value>The header encoding selector callback to decode the value for the specified response header name, or <see langword="null" /> to indicate the default behavior.</value>
777+
<summary>Gets or sets a callback that selects the <see cref="System.Text.Encoding"/> to decode response header values.</summary>
778+
<value>The header encoding selector callback that selects the <see cref="System.Text.Encoding"/> to decode the value for the specified response header name, or <see langword="null" /> to indicate the default behavior.</value>
779779
<remarks>To be added.</remarks>
780780
</Docs>
781781
</Member>

0 commit comments

Comments
 (0)