-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement straightforward ServicePoint(Manager) properties in HttpWeb…
…Request (#94664) * Implement TcpKeepAlive and some properties from ServicePoint * Delete unicast set socket option * Review feedback * Delete else case * Make TcpKeepAlive reference type * Delete unnecessary usings * Compile error fix * Review Feedback * Add Expect100Continue Support * Add ContinueTimeout Tests * Correct test cases naming * Review feedback * Add Expect 100 Continue header tests * Apply suggestions from code review Co-authored-by: Anton Firszov <[email protected]> * Review feedback * Apply suggestions from code review Co-authored-by: Miha Zupan <[email protected]> * Review feedback --------- Co-authored-by: Anton Firszov <[email protected]> Co-authored-by: Miha Zupan <[email protected]>
- Loading branch information
1 parent
1473dea
commit f0a6dbd
Showing
6 changed files
with
163 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/libraries/System.Net.Requests/src/System/Net/ServicePoint/TcpKeepAlive.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
namespace System.Net | ||
{ | ||
internal sealed class TcpKeepAlive | ||
{ | ||
internal int Time { get; set; } | ||
internal int Interval { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters