Skip to content

Commit

Permalink
Merge assemblies and implement a little bit on ServicePoint
Browse files Browse the repository at this point in the history
  • Loading branch information
liveans committed Oct 24, 2023
1 parent f28a8a7 commit 20e32b4
Show file tree
Hide file tree
Showing 26 changed files with 169 additions and 403 deletions.
40 changes: 24 additions & 16 deletions src/libraries/System.Net.Http/System.Net.Http.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34215.31
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StreamConformanceTests", "..\Common\tests\StreamConformanceTests\StreamConformanceTests.csproj", "{079F7C1B-0364-4EAB-93F7-049C2ECB99E8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestUtilities", "..\Common\tests\TestUtilities\TestUtilities.csproj", "{2A0CAB20-38D5-43D4-86E4-B4BB749CFC85}"
Expand Down Expand Up @@ -73,11 +77,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{145B4B2E-5EF
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{7841027C-6B57-4756-A757-8B19ECA0D9C7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "tools\gen", "{6A8E1C6E-AED3-4791-8A4E-2F984E96C675}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{6A8E1C6E-AED3-4791-8A4E-2F984E96C675}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "tools\src", "{21C29D7F-0441-4D31-8D83-56689F95B22A}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{21C29D7F-0441-4D31-8D83-56689F95B22A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "tools\ref", "{1328089C-8717-4A25-9F71-65D7D0ECA031}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{1328089C-8717-4A25-9F71-65D7D0ECA031}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}"
EndProject
Expand Down Expand Up @@ -226,42 +230,46 @@ Global
GlobalSection(NestedProjects) = preSolution
{079F7C1B-0364-4EAB-93F7-049C2ECB99E8} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{2A0CAB20-38D5-43D4-86E4-B4BB749CFC85} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{51412712-224A-4F69-9964-3EFBEB2AA3E0} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{AE3FAA66-DF03-4EE1-91BA-B65C3DE94DF2} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{FC7EE3FF-B352-442D-AB17-E0055121B918} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{B0566430-0E17-4368-9B8C-711E187B2F3D} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{844895E3-EDA5-453A-ACDE-E9DE1D5D8FC7} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{7DCF17A5-175B-4966-B208-D120B3BA32A4} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{3A2112A9-BD10-4423-AB19-2D3681D60E38} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{69B3AD9D-E5B7-4512-8097-5D14DC5C18F1} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{8D82C57C-D809-4E65-BDFF-E73C13DA37BC} = {145B4B2E-5EF8-46F2-A596-E1043BB22873}
{50DB5029-84A6-4395-A941-1776D7E4D309} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{C5CA4275-5F20-4A91-A985-3B1183A2BDAF} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{CB685EA0-3A2C-4966-82EF-F04D0C02A419} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{11F31E64-4000-47F3-AE19-C83EB4EC0ED8} = {145B4B2E-5EF8-46F2-A596-E1043BB22873}
{51412712-224A-4F69-9964-3EFBEB2AA3E0} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{AE3FAA66-DF03-4EE1-91BA-B65C3DE94DF2} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{FC7EE3FF-B352-442D-AB17-E0055121B918} = {0656F36C-F261-4F5A-B3E1-2DBB9FA6CF10}
{57E7FC2D-6403-4690-8FE3-7EE1EB642630} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{0FCFAD52-30B7-4767-95A2-34FD295D31F4} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{2A888AE7-A822-4FF5-B6F0-9C7FEB46D117} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{17069DE3-C00A-4A4C-9FAF-557F2E8A6197} = {7841027C-6B57-4756-A757-8B19ECA0D9C7}
{AA7B5256-A933-4F5F-9E66-AFDADD386BAF} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{DB976968-CBB9-4134-88C6-5E682D050809} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{F0316E81-8B9C-44F3-86F5-4C812F0734A3} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{38FD827A-C96C-41CF-A514-CDAD16AE4802} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{E33BB464-D65A-46DB-9BC1-836A5D126196} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{8D82C57C-D809-4E65-BDFF-E73C13DA37BC} = {145B4B2E-5EF8-46F2-A596-E1043BB22873}
{11F31E64-4000-47F3-AE19-C83EB4EC0ED8} = {145B4B2E-5EF8-46F2-A596-E1043BB22873}
{92D3020D-AB3C-44FC-BC22-ECFF8E83645D} = {145B4B2E-5EF8-46F2-A596-E1043BB22873}
{17069DE3-C00A-4A4C-9FAF-557F2E8A6197} = {7841027C-6B57-4756-A757-8B19ECA0D9C7}
{FC847978-9218-451E-BD07-910E11D59AD1} = {7841027C-6B57-4756-A757-8B19ECA0D9C7}
{98AA859A-14F1-465D-80D6-343A4075CC7B} = {7841027C-6B57-4756-A757-8B19ECA0D9C7}
{786ED1A9-1EFF-4BC4-A833-E680D9960F72} = {7841027C-6B57-4756-A757-8B19ECA0D9C7}
{DB976968-CBB9-4134-88C6-5E682D050809} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{F0316E81-8B9C-44F3-86F5-4C812F0734A3} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{38FD827A-C96C-41CF-A514-CDAD16AE4802} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{E33BB464-D65A-46DB-9BC1-836A5D126196} = {3F6352E6-73F1-4E69-A3AD-7E9E7F9051AD}
{AA699427-03F4-4247-A537-0BFB872BD177} = {6A8E1C6E-AED3-4791-8A4E-2F984E96C675}
{A9E863FB-3904-41CF-88D9-FEE8A0AE7D80} = {6A8E1C6E-AED3-4791-8A4E-2F984E96C675}
{6A8E1C6E-AED3-4791-8A4E-2F984E96C675} = {7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}
{4A09D92F-DDA7-4FCF-9F8F-A5FBD4A5ADF8} = {21C29D7F-0441-4D31-8D83-56689F95B22A}
{A9E8F328-3B36-4DE5-96AC-6625F2C12664} = {21C29D7F-0441-4D31-8D83-56689F95B22A}
{21C29D7F-0441-4D31-8D83-56689F95B22A} = {7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}
{4D3B8DF2-580F-4DDC-B189-2CC2DA9CAA04} = {1328089C-8717-4A25-9F71-65D7D0ECA031}
{6A8E1C6E-AED3-4791-8A4E-2F984E96C675} = {7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}
{21C29D7F-0441-4D31-8D83-56689F95B22A} = {7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}
{1328089C-8717-4A25-9F71-65D7D0ECA031} = {7016A2BA-7735-4FFB-9FFF-BB6A14A2CF9E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F1EF65A2-61B3-45A3-9CDE-BD62218BE447}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\..\tools\illink\src\ILLink.Shared\ILLink.Shared.projitems*{a9e863fb-3904-41cf-88d9-fee8a0ae7d80}*SharedItemsImports = 5
..\..\tools\illink\src\ILLink.Shared\ILLink.Shared.projitems*{a9e8f328-3b36-4de5-96ac-6625f2c12664}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
<Compile Include="System\Net\Managed\HttpResponseStream.Managed.cs" />
<Compile Include="System\Net\Managed\WebSockets\HttpWebSocket.Managed.cs" />
<Reference Include="System.Net.Sockets" />
<Reference Include="System.Net.ServicePoint" />
<Reference Include="System.Threading.ThreadPool" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/libraries/System.Net.Mail/System.Net.Mail.sln
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Primitives", "..
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Security", "..\System.Net.Security\ref\System.Net.Security.csproj", "{63AD4246-28A6-4FFC-9864-F49BE7EA06A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.ServicePoint", "..\System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj", "{0FC3D1DF-6D65-4319-967D-CD3870500060}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Requests", "..\System.Net.Requests\ref\System.Net.Requests.csproj", "{0FC3D1DF-6D65-4319-967D-CD3870500060}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.ObjectModel", "..\System.ObjectModel\ref\System.ObjectModel.csproj", "{15058CBC-DF6D-4B1A-A9B1-C4B6ADF2B8A5}"
EndProject
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ProjectReference Include="$(LibrariesProjectRoot)System.Collections.Specialized\ref\System.Collections.Specialized.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.ComponentModel.EventBasedAsync\ref\System.ComponentModel.EventBasedAsync.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.Primitives\ref\System.Net.Primitives.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.Requests\ref\System.Net.Requests.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Security.Cryptography\ref\System.Security.Cryptography.csproj" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion src/libraries/System.Net.Mail/src/System.Net.Mail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
<Reference Include="System.Net.Primitives" />
<Reference Include="System.Net.Requests" />
<Reference Include="System.Net.Security" />
<Reference Include="System.Net.ServicePoint" />
<Reference Include="System.Net.Sockets" />
<Reference Include="System.Runtime" />
<Reference Include="System.Runtime.InteropServices" />
Expand Down
20 changes: 12 additions & 8 deletions src/libraries/System.Net.Requests/System.Net.Requests.sln
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "tools\gen", "{DC7F20
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "tools\src", "{8F842012-E5B7-4806-BF53-7F1EDAC7F4DD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "tools\ref", "{213121F9-0C28-4322-A0F0-07B6C5818923}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{213121F9-0C28-4322-A0F0-07B6C5818923}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}"
EndProject
Expand Down Expand Up @@ -201,7 +201,6 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{050A566C-C468-4AFB-84E4-FFC421983961} = {2E80965D-0AB1-451E-AFE5-E4CAF49EE8E3}
{45338E1A-5586-40E6-97AF-709DBBB85AEC} = {2E80965D-0AB1-451E-AFE5-E4CAF49EE8E3}
{2FFD7EC3-F903-450D-A078-1A8A85840B5F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{D060D992-77F2-4583-BEDC-5D3917127193} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{493810E5-63DD-4CAC-8B4A-28A46F6A0C09} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
Expand All @@ -212,28 +211,33 @@ Global
{2D875D28-B258-420A-B000-CB548B957E4A} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{A9FABDAE-CB4B-4EEE-87CE-89CE22810E2F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{60B3EE55-D545-4817-A57D-99F38CBCD1A8} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{CCD28DAE-FEF6-4732-A985-B814A95B3408} = {BE29C1CE-D2BC-43F8-9412-50F870CE5538}
{45338E1A-5586-40E6-97AF-709DBBB85AEC} = {2E80965D-0AB1-451E-AFE5-E4CAF49EE8E3}
{0F98EB0F-47BC-4FA8-AAF9-984EA5EA82F6} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{3591028D-F67E-49B9-A102-13D213A8322F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{039447FE-18F8-4BB1-9635-7CCA2B3E0D57} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{65D5CFD7-A40B-43D4-B17C-DC3AA8857224} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{BE1267C9-2847-4BD0-BBC9-B9ABEB567F08} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{622D51A8-954A-401B-91FD-21E650F2DE46} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{CE27441A-4D2F-4A63-8D02-148A0C51CA47} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{3091C143-0DE3-4AF8-8F19-87DA0F0F2E5F} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{138C9774-A6EB-4D50-84FA-9F9AD01951CA} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{DF161191-D601-40E1-8D78-0EB3A892E315} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{FECA1242-D76F-4CA0-A0E7-289209B2BCC0} = {DB20495E-C9F0-4640-85A6-ACEF17C21670}
{CCD28DAE-FEF6-4732-A985-B814A95B3408} = {BE29C1CE-D2BC-43F8-9412-50F870CE5538}
{BE1267C9-2847-4BD0-BBC9-B9ABEB567F08} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{622D51A8-954A-401B-91FD-21E650F2DE46} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{CE27441A-4D2F-4A63-8D02-148A0C51CA47} = {BCB9D4DE-1EC1-4826-A80F-E4D2E960D98D}
{D865D8D5-7D19-4D98-BED2-3D7B4FC3C4B2} = {DC7F204D-9592-4EDD-9ED0-21B2BF53FA1F}
{CAEAB457-89E5-42DD-9963-321601FAE936} = {DC7F204D-9592-4EDD-9ED0-21B2BF53FA1F}
{DC7F204D-9592-4EDD-9ED0-21B2BF53FA1F} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}
{83BB00EB-51E0-4ED9-858E-1A28322EDE01} = {8F842012-E5B7-4806-BF53-7F1EDAC7F4DD}
{6AE19FC5-D4BA-4C1A-87B9-87A9FCC0883B} = {8F842012-E5B7-4806-BF53-7F1EDAC7F4DD}
{8F842012-E5B7-4806-BF53-7F1EDAC7F4DD} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}
{F01F38EB-B9A4-46EA-B11C-AE5C65BD0371} = {213121F9-0C28-4322-A0F0-07B6C5818923}
{DC7F204D-9592-4EDD-9ED0-21B2BF53FA1F} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}
{8F842012-E5B7-4806-BF53-7F1EDAC7F4DD} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}
{213121F9-0C28-4322-A0F0-07B6C5818923} = {0CCB356A-4A4E-4CDB-8407-BF91880E5E9A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D33CD477-CBDE-47CC-BDAB-7E9469CE3549}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\..\tools\illink\src\ILLink.Shared\ILLink.Shared.projitems*{6ae19fc5-d4ba-4c1a-87b9-87a9fcc0883b}*SharedItemsImports = 5
..\..\tools\illink\src\ILLink.Shared\ILLink.Shared.projitems*{caeab457-89e5-42dd-9963-321601fae936}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
59 changes: 59 additions & 0 deletions src/libraries/System.Net.Requests/ref/System.Net.Requests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,65 @@ protected virtual void GetObjectData(System.Runtime.Serialization.SerializationI
[System.ObsoleteAttribute("Serialization has been deprecated for WebResponse.")]
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { }
}
public delegate System.Net.IPEndPoint BindIPEndPoint(System.Net.ServicePoint servicePoint, System.Net.IPEndPoint remoteEndPoint, int retryCount);
[System.FlagsAttribute]
public enum SecurityProtocolType
{
SystemDefault = 0,
[System.ObsoleteAttribute("SecurityProtocolType.Ssl3 has been deprecated and is not supported.")]
Ssl3 = 48,
Tls = 192,
Tls11 = 768,
Tls12 = 3072,
Tls13 = 12288,
}
public partial class ServicePoint
{
internal ServicePoint() { }
public System.Uri Address { get { throw null; } }
public System.Net.BindIPEndPoint? BindIPEndPointDelegate { get { throw null; } set { } }
public System.Security.Cryptography.X509Certificates.X509Certificate? Certificate { get { throw null; } }
public System.Security.Cryptography.X509Certificates.X509Certificate? ClientCertificate { get { throw null; } }
public int ConnectionLeaseTimeout { get { throw null; } set { } }
public int ConnectionLimit { get { throw null; } set { } }
public string ConnectionName { get { throw null; } }
public int CurrentConnections { get { throw null; } }
public bool Expect100Continue { get { throw null; } set { } }
public System.DateTime IdleSince { get { throw null; } }
public int MaxIdleTime { get { throw null; } set { } }
public virtual System.Version ProtocolVersion { get { throw null; } }
public int ReceiveBufferSize { get { throw null; } set { } }
public bool SupportsPipelining { get { throw null; } }
public bool UseNagleAlgorithm { get { throw null; } set { } }
public bool CloseConnectionGroup(string connectionGroupName) { throw null; }
public void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { }
}
public partial class ServicePointManager
{
internal ServicePointManager() { }
public const int DefaultNonPersistentConnectionLimit = 4;
public const int DefaultPersistentConnectionLimit = 2;
public static bool CheckCertificateRevocationList { get { throw null; } set { } }
public static int DefaultConnectionLimit { get { throw null; } set { } }
public static int DnsRefreshTimeout { get { throw null; } set { } }
public static bool EnableDnsRoundRobin { get { throw null; } set { } }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Net.Security.EncryptionPolicy EncryptionPolicy { get { throw null; } }
public static bool Expect100Continue { get { throw null; } set { } }
public static int MaxServicePointIdleTime { get { throw null; } set { } }
public static int MaxServicePoints { get { throw null; } set { } }
public static bool ReusePort { get { throw null; } set { } }
public static System.Net.SecurityProtocolType SecurityProtocol { get { throw null; } set { } }
public static System.Net.Security.RemoteCertificateValidationCallback? ServerCertificateValidationCallback { get { throw null; } set { } }
public static bool UseNagleAlgorithm { get { throw null; } set { } }
[System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public static System.Net.ServicePoint FindServicePoint(string uriString, System.Net.IWebProxy? proxy) { throw null; }
[System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public static System.Net.ServicePoint FindServicePoint(System.Uri address) { throw null; }
[System.ObsoleteAttribute("WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.", DiagnosticId = "SYSLIB0014", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public static System.Net.ServicePoint FindServicePoint(System.Uri address, System.Net.IWebProxy? proxy) { throw null; }
public static void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { }
}
}
namespace System.Net.Cache
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<ProjectReference Include="$(LibrariesProjectRoot)System.Collections.Specialized\ref\System.Collections.Specialized.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.Primitives\ref\System.Net.Primitives.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.Security\ref\System.Net.Security.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.ServicePoint\ref\System.Net.ServicePoint.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Net.WebHeaderCollection\ref\System.Net.WebHeaderCollection.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\ref\System.Runtime.csproj" />
<ProjectReference Include="$(LibrariesProjectRoot)System.Security.Cryptography\ref\System.Security.Cryptography.csproj" />
Expand Down
3 changes: 3 additions & 0 deletions src/libraries/System.Net.Requests/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,7 @@
<data name="CacheEntryNotFound" xml:space="preserve">
<value>The request was aborted: The request cache-only policy does not allow a network request and the response is not found in cache.</value>
</data>
<data name="net_proxyschemenotsupported" xml:space="preserve">
<value>The ServicePointManager does not support proxies with the {0} scheme.</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
<Compile Include="System\Net\Cache\HttpRequestCacheLevel.cs" />
<Compile Include="System\Net\Cache\HttpRequestCachePolicy.cs" />
<Compile Include="System\Net\NetEventSource.Requests.cs" />
<Compile Include="System\Net\ServicePoint\BindIPEndPoint.cs" />
<Compile Include="System\Net\ServicePoint\SecurityProtocolType.cs" />
<Compile Include="System\Net\ServicePoint\ServicePoint.cs" />
<Compile Include="System\Net\ServicePoint\ServicePointManager.cs" />
<Compile Include="System\Net\ServicePoint\TcpKeepAlive.cs" />
<Compile Include="$(CommonPath)System\Obsoletions.cs"
Link="Common\System\Obsoletions.cs" />
<Compile Include="$(CommonPath)System\Net\Http\HttpHandlerDefaults.cs"
Expand Down Expand Up @@ -92,14 +97,14 @@
<ItemGroup>
<Reference Include="Microsoft.Win32.Primitives" />
<Reference Include="System.Collections" />
<Reference Include="System.Collections.Concurrent" />
<Reference Include="System.Collections.NonGeneric" />
<Reference Include="System.Collections.Specialized" />
<Reference Include="System.Diagnostics.Tracing" />
<Reference Include="System.Memory" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Primitives" />
<Reference Include="System.Net.Security" />
<Reference Include="System.Net.ServicePoint" />
<Reference Include="System.Net.Sockets" />
<Reference Include="System.Net.WebHeaderCollection" />
<Reference Include="System.Runtime" />
Expand Down
Loading

0 comments on commit 20e32b4

Please sign in to comment.