diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-01 14:18:33 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-03-01 14:18:33 +0300 |
commit | 625750d9e662c2f3cb769d47cdd59ec2010f8751 (patch) | |
tree | ee94e495af7a11a9c60848634056578794444691 /profiles/monotouch | |
parent | 3de71f197c409094c0657fefee6896d89b54da40 (diff) |
Apply changes from https://github.com/mono/mono/pull/13229 to API snapshot
Diffstat (limited to 'profiles/monotouch')
-rw-r--r-- | profiles/monotouch/System.Net.Http.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/profiles/monotouch/System.Net.Http.cs b/profiles/monotouch/System.Net.Http.cs index 27c48b2..bc3ce7e 100644 --- a/profiles/monotouch/System.Net.Http.cs +++ b/profiles/monotouch/System.Net.Http.cs @@ -30,6 +30,15 @@ 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, @@ -239,6 +248,18 @@ 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 partial class StreamContent : System.Net.Http.HttpContent { public StreamContent(System.IO.Stream content) { } |