Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark some System.Net.Http APIs as unsupported on browser #42074

Merged

Conversation

MaximLipnin
Copy link
Contributor

Part of #41087

DocID Namespace Type Member Nesting
M:System.Net.Http.HttpClientHandler.set_MaxConnectionsPerServer(System.Int32) System.Net.Http HttpClientHandler set_MaxConnectionsPerServer(Int32) 1
M:System.Net.Http.HttpClientHandler.get_UseProxy System.Net.Http HttpClientHandler get_UseProxy() 1
M:System.Net.Http.HttpClientHandler.set_CookieContainer(System.Net.CookieContainer) System.Net.Http HttpClientHandler set_CookieContainer(CookieContainer) 1
M:System.Net.Http.HttpClientHandler.set_PreAuthenticate(System.Boolean) System.Net.Http HttpClientHandler set_PreAuthenticate(Boolean) 1
M:System.Net.Http.HttpClientHandler.get_CookieContainer System.Net.Http HttpClientHandler get_CookieContainer() 1
M:System.Net.Http.HttpClientHandler.get_MaxAutomaticRedirections System.Net.Http HttpClientHandler get_MaxAutomaticRedirections() 1
M:System.Net.Http.HttpClientHandler.get_MaxResponseHeadersLength System.Net.Http HttpClientHandler get_MaxResponseHeadersLength() 1
M:System.Net.Http.HttpClientHandler.get_UseCookies System.Net.Http HttpClientHandler get_UseCookies() 1
M:System.Net.Http.HttpClientHandler.get_Proxy System.Net.Http HttpClientHandler get_Proxy() 1
M:System.Net.Http.HttpClientHandler.set_Proxy(System.Net.IWebProxy) System.Net.Http HttpClientHandler set_Proxy(IWebProxy) 1
M:System.Net.Http.HttpClientHandler.set_MaxAutomaticRedirections(System.Int32) System.Net.Http HttpClientHandler set_MaxAutomaticRedirections(Int32) 1
M:System.Net.Http.HttpClientHandler.set_SslProtocols(System.Security.Authentication.SslProtocols) System.Net.Http HttpClientHandler set_SslProtocols(SslProtocols) 1
M:System.Net.Http.HttpClientHandler.set_MaxResponseHeadersLength(System.Int32) System.Net.Http HttpClientHandler set_MaxResponseHeadersLength(Int32) 1
M:System.Net.Http.HttpClientHandler.set_ServerCertificateCustomValidationCallback(System.Func{System.Net.Http.HttpRequestMessage,System.Security.Cryptography.X509Certificates.X509Certificate2,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors,System.Boolean}) System.Net.Http HttpClientHandler set_ServerCertificateCustomValidationCallback(Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, Boolean>) 0
M:System.Net.Http.HttpClientHandler.get_SslProtocols System.Net.Http HttpClientHandler get_SslProtocols() 1
M:System.Net.Http.HttpClientHandler.set_CheckCertificateRevocationList(System.Boolean) System.Net.Http HttpClientHandler set_CheckCertificateRevocationList(Boolean) 1
M:System.Net.Http.HttpClientHandler.get_AutomaticDecompression System.Net.Http HttpClientHandler get_AutomaticDecompression() 1
M:System.Net.Http.HttpClientHandler.set_UseDefaultCredentials(System.Boolean) System.Net.Http HttpClientHandler set_UseDefaultCredentials(Boolean) 1
M:System.Net.Http.HttpClientHandler.set_UseProxy(System.Boolean) System.Net.Http HttpClientHandler set_UseProxy(Boolean) 1
M:System.Net.Http.HttpClientHandler.get_UseDefaultCredentials System.Net.Http HttpClientHandler get_UseDefaultCredentials() 1
M:System.Net.Http.HttpClientHandler.get_MaxConnectionsPerServer System.Net.Http HttpClientHandler get_MaxConnectionsPerServer() 1
M:System.Net.Http.HttpClientHandler.get_CheckCertificateRevocationList System.Net.Http HttpClientHandler get_CheckCertificateRevocationList() 1
M:System.Net.Http.HttpClientHandler.set_UseCookies(System.Boolean) System.Net.Http HttpClientHandler set_UseCookies(Boolean) 1
M:System.Net.Http.HttpClientHandler.get_Credentials System.Net.Http HttpClientHandler get_Credentials() 1
M:System.Net.Http.HttpClientHandler.get_ClientCertificates System.Net.Http HttpClientHandler get_ClientCertificates() 1
M:System.Net.Http.HttpClientHandler.set_AutomaticDecompression(System.Net.DecompressionMethods) System.Net.Http HttpClientHandler set_AutomaticDecompression(DecompressionMethods) 1
M:System.Net.Http.HttpClientHandler.set_DefaultProxyCredentials(System.Net.ICredentials) System.Net.Http HttpClientHandler set_DefaultProxyCredentials(ICredentials) 1
M:System.Net.Http.HttpClientHandler.get_PreAuthenticate System.Net.Http HttpClientHandler get_PreAuthenticate() 1
M:System.Net.Http.HttpClientHandler.get_ServerCertificateCustomValidationCallback System.Net.Http HttpClientHandler get_ServerCertificateCustomValidationCallback() 0
M:System.Net.Http.HttpClientHandler.get_DefaultProxyCredentials System.Net.Http HttpClientHandler get_DefaultProxyCredentials() 1
M:System.Net.Http.HttpClientHandler.set_Credentials(System.Net.ICredentials) System.Net.Http HttpClientHandler set_Credentials(ICredentials) 1
M:System.Net.Http.SocketsHttpHandler.set_MaxConnectionsPerServer(System.Int32) System.Net.Http SocketsHttpHandler set_MaxConnectionsPerServer(Int32) 0
M:System.Net.Http.SocketsHttpHandler.get_ResponseDrainTimeout System.Net.Http SocketsHttpHandler get_ResponseDrainTimeout() 0
M:System.Net.Http.SocketsHttpHandler.set_KeepAlivePingPolicy(System.Net.Http.HttpKeepAlivePingPolicy) System.Net.Http SocketsHttpHandler set_KeepAlivePingPolicy(HttpKeepAlivePingPolicy) 0
M:System.Net.Http.SocketsHttpHandler.get_UseProxy System.Net.Http SocketsHttpHandler get_UseProxy() 0
M:System.Net.Http.SocketsHttpHandler.set_CookieContainer(System.Net.CookieContainer) System.Net.Http SocketsHttpHandler set_CookieContainer(CookieContainer) 0
M:System.Net.Http.SocketsHttpHandler.set_KeepAlivePingDelay(System.TimeSpan) System.Net.Http SocketsHttpHandler set_KeepAlivePingDelay(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.get_KeepAlivePingPolicy System.Net.Http SocketsHttpHandler get_KeepAlivePingPolicy() 0
M:System.Net.Http.SocketsHttpHandler.set_PreAuthenticate(System.Boolean) System.Net.Http SocketsHttpHandler set_PreAuthenticate(Boolean) 0
M:System.Net.Http.SocketsHttpHandler.get_CookieContainer System.Net.Http SocketsHttpHandler get_CookieContainer() 0
M:System.Net.Http.SocketsHttpHandler.set_RequestHeaderEncodingSelector(System.Net.Http.HeaderEncodingSelector{System.Net.Http.HttpRequestMessage}) System.Net.Http SocketsHttpHandler set_RequestHeaderEncodingSelector(HeaderEncodingSelector) 0
M:System.Net.Http.SocketsHttpHandler.get_PooledConnectionLifetime System.Net.Http SocketsHttpHandler get_PooledConnectionLifetime() 0
M:System.Net.Http.SocketsHttpHandler.get_KeepAlivePingDelay System.Net.Http SocketsHttpHandler get_KeepAlivePingDelay() 0
M:System.Net.Http.SocketsHttpHandler.get_MaxAutomaticRedirections System.Net.Http SocketsHttpHandler get_MaxAutomaticRedirections() 0
M:System.Net.Http.SocketsHttpHandler.get_MaxResponseHeadersLength System.Net.Http SocketsHttpHandler get_MaxResponseHeadersLength() 0
M:System.Net.Http.SocketsHttpHandler.get_UseCookies System.Net.Http SocketsHttpHandler get_UseCookies() 0
M:System.Net.Http.SocketsHttpHandler.get_Expect100ContinueTimeout System.Net.Http SocketsHttpHandler get_Expect100ContinueTimeout() 0
M:System.Net.Http.SocketsHttpHandler.get_ConnectionFactory System.Net.Http SocketsHttpHandler get_ConnectionFactory() 0
M:System.Net.Http.SocketsHttpHandler.set_PooledConnectionLifetime(System.TimeSpan) System.Net.Http SocketsHttpHandler set_PooledConnectionLifetime(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.get_RequestHeaderEncodingSelector System.Net.Http SocketsHttpHandler get_RequestHeaderEncodingSelector() 0
M:System.Net.Http.SocketsHttpHandler.get_AllowAutoRedirect System.Net.Http SocketsHttpHandler get_AllowAutoRedirect() 0
M:System.Net.Http.SocketsHttpHandler.get_PooledConnectionIdleTimeout System.Net.Http SocketsHttpHandler get_PooledConnectionIdleTimeout() 0
M:System.Net.Http.SocketsHttpHandler.set_Proxy(System.Net.IWebProxy) System.Net.Http SocketsHttpHandler set_Proxy(IWebProxy) 0
M:System.Net.Http.SocketsHttpHandler.set_MaxAutomaticRedirections(System.Int32) System.Net.Http SocketsHttpHandler set_MaxAutomaticRedirections(Int32) 0
M:System.Net.Http.SocketsHttpHandler.get_PlaintextFilter System.Net.Http SocketsHttpHandler get_PlaintextFilter() 0
M:System.Net.Http.SocketsHttpHandler.set_MaxResponseHeadersLength(System.Int32) System.Net.Http SocketsHttpHandler set_MaxResponseHeadersLength(Int32) 0
M:System.Net.Http.SocketsHttpHandler.get_MaxResponseDrainSize System.Net.Http SocketsHttpHandler get_MaxResponseDrainSize() 0
M:System.Net.Http.SocketsHttpHandler.get_SslOptions System.Net.Http SocketsHttpHandler get_SslOptions() 0
M:System.Net.Http.SocketsHttpHandler.get_Proxy System.Net.Http SocketsHttpHandler get_Proxy() 0
M:System.Net.Http.SocketsHttpHandler.get_ResponseHeaderEncodingSelector System.Net.Http SocketsHttpHandler get_ResponseHeaderEncodingSelector() 0
M:System.Net.Http.SocketsHttpHandler.set_ResponseDrainTimeout(System.TimeSpan) System.Net.Http SocketsHttpHandler set_ResponseDrainTimeout(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.set_Expect100ContinueTimeout(System.TimeSpan) System.Net.Http SocketsHttpHandler set_Expect100ContinueTimeout(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.get_AutomaticDecompression System.Net.Http SocketsHttpHandler get_AutomaticDecompression() 0
M:System.Net.Http.SocketsHttpHandler.set_MaxResponseDrainSize(System.Int32) System.Net.Http SocketsHttpHandler set_MaxResponseDrainSize(Int32) 0
M:System.Net.Http.SocketsHttpHandler.set_EnableMultipleHttp2Connections(System.Boolean) System.Net.Http SocketsHttpHandler set_EnableMultipleHttp2Connections(Boolean) 0
M:System.Net.Http.SocketsHttpHandler.set_UseProxy(System.Boolean) System.Net.Http SocketsHttpHandler set_UseProxy(Boolean) 0
M:System.Net.Http.SocketsHttpHandler.set_ConnectTimeout(System.TimeSpan) System.Net.Http SocketsHttpHandler set_ConnectTimeout(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.set_ConnectionFactory(System.Net.Connections.ConnectionFactory) System.Net.Http SocketsHttpHandler set_ConnectionFactory(ConnectionFactory) 0
M:System.Net.Http.SocketsHttpHandler.get_MaxConnectionsPerServer System.Net.Http SocketsHttpHandler get_MaxConnectionsPerServer() 0
M:System.Net.Http.SocketsHttpHandler.set_SslOptions(System.Net.Security.SslClientAuthenticationOptions) System.Net.Http SocketsHttpHandler set_SslOptions(SslClientAuthenticationOptions) 0
M:System.Net.Http.SocketsHttpHandler.get_KeepAlivePingTimeout System.Net.Http SocketsHttpHandler get_KeepAlivePingTimeout() 0
M:System.Net.Http.SocketsHttpHandler.set_KeepAlivePingTimeout(System.TimeSpan) System.Net.Http SocketsHttpHandler set_KeepAlivePingTimeout(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.get_Properties System.Net.Http SocketsHttpHandler get_Properties() 0
M:System.Net.Http.SocketsHttpHandler.set_AutomaticDecompression(System.Net.DecompressionMethods) System.Net.Http SocketsHttpHandler set_AutomaticDecompression(DecompressionMethods) 0
M:System.Net.Http.SocketsHttpHandler.get_Credentials System.Net.Http SocketsHttpHandler get_Credentials() 0
M:System.Net.Http.SocketsHttpHandler.set_AllowAutoRedirect(System.Boolean) System.Net.Http SocketsHttpHandler set_AllowAutoRedirect(Boolean) 0
M:System.Net.Http.SocketsHttpHandler.set_UseCookies(System.Boolean) System.Net.Http SocketsHttpHandler set_UseCookies(Boolean) 0
M:System.Net.Http.SocketsHttpHandler.get_EnableMultipleHttp2Connections System.Net.Http SocketsHttpHandler get_EnableMultipleHttp2Connections() 0
M:System.Net.Http.SocketsHttpHandler.set_DefaultProxyCredentials(System.Net.ICredentials) System.Net.Http SocketsHttpHandler set_DefaultProxyCredentials(ICredentials) 0
M:System.Net.Http.SocketsHttpHandler.get_PreAuthenticate System.Net.Http SocketsHttpHandler get_PreAuthenticate() 0
M:System.Net.Http.SocketsHttpHandler.set_PlaintextFilter(System.Func{System.Net.Http.HttpRequestMessage,System.Net.Connections.Connection,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask{System.Net.Connections.Connection}}) System.Net.Http SocketsHttpHandler set_PlaintextFilter(Func<HttpRequestMessage, Connection, CancellationToken, ValueTask>) 0
M:System.Net.Http.SocketsHttpHandler.get_ConnectTimeout System.Net.Http SocketsHttpHandler get_ConnectTimeout() 0
M:System.Net.Http.SocketsHttpHandler.set_ResponseHeaderEncodingSelector(System.Net.Http.HeaderEncodingSelector{System.Net.Http.HttpRequestMessage}) System.Net.Http SocketsHttpHandler set_ResponseHeaderEncodingSelector(HeaderEncodingSelector) 0
M:System.Net.Http.SocketsHttpHandler.set_PooledConnectionIdleTimeout(System.TimeSpan) System.Net.Http SocketsHttpHandler set_PooledConnectionIdleTimeout(TimeSpan) 0
M:System.Net.Http.SocketsHttpHandler.get_DefaultProxyCredentials System.Net.Http SocketsHttpHandler get_DefaultProxyCredentials() 0
M:System.Net.Http.SocketsHttpHandler.set_Credentials(System.Net.ICredentials) System.Net.Http SocketsHttpHandler set_Credentials(ICredentials) 0

@ghost
Copy link

ghost commented Sep 10, 2020

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

@kjpou1 kjpou1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@MaximLipnin MaximLipnin merged commit 1b18efa into dotnet:master Sep 11, 2020
@MaximLipnin MaximLipnin deleted the system.net.http_unsupported_on_browser branch September 11, 2020 06:10
mdh1418 pushed a commit to mdh1418/runtime that referenced this pull request Sep 15, 2020
lewing pushed a commit that referenced this pull request Sep 16, 2020
…hanges (#42267)

* Mark System.IO.Pipes Unsupported at assembly level (#41976)

Co-authored-by: Mitchell Hwang <[email protected]>

* Mark some System.Net.Http APIs as unsupported on browser (#42074)

* Mark some System.Net.HttpListener APIs as unsupported on browser (#42063)

* Mark some System.Net.HttpListener APIs as unsupported on browser

* FIx windows builds

* Fix windows builds

* Remove browser annotations from the properties with windows-specific setters.

* Mark only setter of ExtendedProtectionPolicy

* Remove another redundant annotation

* Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM (#42010)

* Mark System.Security.Cryptography.Algorithms as unsupported on Browser WASM

* Address the comment regarding IncrementalHash.CreateHMAC

* Group System.* usings

* Restore the blank lines between the meta-comment and the code for all the HMAC classes

* Fix style issues

* Mark MD5 class as unsupported on Browser; clean up the api exclusion list and proj file.

* Using

* Style fix

Co-authored-by: Mitchell Hwang <[email protected]>
Co-authored-by: Maxim Lipnin <[email protected]>
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
@karelz karelz added this to the 6.0.0 milestone Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants