dotnet-core/release-notes/3.0/api-diff/3.0.0_System.Net.md
2019-09-23 13:07:54 -07: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,
     }
 }