dotnet-core/release-notes/3.0/preview/api-diff/preview1/3.0-preview1_System.Net.md
Ahson Khan e6b9c28c28
Add API diff between .NET Core 2.2 and .NET Core 3.0 preview1. (#2256)
* Add API diff between .NET Core 2.2 and .NET Core 3.0 preview1.

* Only compare ref assemblies within M.NetCore.App rather than all impl
assemblies from the repo.

* Remove Microsoft.* namespaces and update heading.
2019-01-28 21:02:57 -08:00

1.1 KiB

System.Net

 namespace System.Net {
-    public class CookieCollection : ICollection, IEnumerable {
+    public class CookieCollection : ICollection, ICollection<Cookie>, IEnumerable, IEnumerable<Cookie>, IReadOnlyCollection<Cookie> {
+        public void Clear();
+        public bool Contains(Cookie cookie);
+        public bool Remove(Cookie cookie);
+        IEnumerator<Cookie> System.Collections.Generic.IEnumerable<System.Net.Cookie>.GetEnumerator();
     }
     public enum DecompressionMethods {
+        All = -1,
+        Brotli = 4,
     }
     public class FileWebRequest : WebRequest, ISerializable {
+        public override Task<Stream> GetRequestStreamAsync();
+        public override Task<WebResponse> GetResponseAsync();
     }
     public class IPEndPoint : EndPoint {
+        public static IPEndPoint Parse(ReadOnlySpan<char> s);
+        public static IPEndPoint Parse(string s);
+        public static bool TryParse(ReadOnlySpan<char> s, out IPEndPoint result);
+        public static bool TryParse(string s, out IPEndPoint result);
     }
     public enum SecurityProtocolType {
+        Tls13 = 12288,
     }
 }