diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-29 21:22:17 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-29 21:22:17 +0300 |
commit | 602bcfdd6dc58e418f9c97c0b8ebda484a3e0f54 (patch) | |
tree | a03c16e7ff37452bda6f7c6c6f056d51889a35e1 | |
parent | 2a37c1375f76e70430cc5ea5e26ec4039e04cf5c (diff) |
Apply changes from https://github.com/mono/mono/pull/13746 to API snapshot
-rw-r--r-- | profiles/monotouch/System.Net.Http.cs | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/profiles/monotouch/System.Net.Http.cs b/profiles/monotouch/System.Net.Http.cs index 78f64be..2f003cd 100644 --- a/profiles/monotouch/System.Net.Http.cs +++ b/profiles/monotouch/System.Net.Http.cs @@ -20,6 +20,8 @@ [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] [assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Http.CFNetworkHandler))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Http.NSUrlSessionHandler))] namespace System.Net.Http { public partial class ByteArrayContent : System.Net.Http.HttpContent @@ -30,15 +32,6 @@ namespace System.Net.Http protected internal override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext context) { throw null; } protected internal override bool TryComputeLength(out long length) { throw null; } } - public partial class CFNetworkHandler : System.Net.Http.HttpMessageHandler - { - public CFNetworkHandler() { } - public bool AllowAutoRedirect { get { throw null; } set { } } - public System.Net.CookieContainer CookieContainer { get { throw null; } set { } } - public bool UseSystemProxy { get { throw null; } set { } } - protected override void Dispose(bool disposing) { } - protected internal override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } - } public enum ClientCertificateOption { Automatic = 1, @@ -254,18 +247,6 @@ namespace System.Net.Http public void Add(System.Net.Http.HttpContent content, string name) { } public void Add(System.Net.Http.HttpContent content, string name, string fileName) { } } - public partial class NSUrlSessionHandler : System.Net.Http.HttpMessageHandler - { - public NSUrlSessionHandler() { } - [System.CLSCompliantAttribute(false)] - public NSUrlSessionHandler(Foundation.NSUrlSessionConfiguration configuration) { } - public bool AllowAutoRedirect { get { throw null; } set { } } - public System.Net.ICredentials Credentials { get { throw null; } set { } } - public bool DisableCaching { get { throw null; } set { } } - public long MaxInputInMemory { get { throw null; } set { } } - protected override void Dispose(bool disposing) { } - protected internal override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } - } public sealed partial class ReadOnlyMemoryContent : System.Net.Http.HttpContent { public ReadOnlyMemoryContent(System.ReadOnlyMemory<byte> content) { } |