Imported Upstream version 6.0.0.300

Former-commit-id: 5d008a9f41819eeae8c2feef3b41fc6cbf03e9fb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-06-14 08:42:46 +00:00
parent a63e3f0156
commit 860af8198e
52 changed files with 68 additions and 39 deletions

View File

@@ -188,6 +188,12 @@ namespace System.Net.Http
public IDictionary<string, object> Properties => _delegatingHandler.Properties;
// Only used in MonoWebRequestHandler and ignored by the other handlers.
internal void SetWebRequestTimeout (TimeSpan timeout)
{
_delegatingHandler.SetWebRequestTimeout (timeout);
}
protected internal override Task<HttpResponseMessage> SendAsync (HttpRequestMessage request, CancellationToken cancellationToken) =>
_delegatingHandler.SendAsync (request, cancellationToken);
}