HttpEngine.OpenConnection(URL) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Establishes a new connection to the resource specified by the URL
url
.
[Android.Runtime.Register("openConnection", "(Ljava/net/URL;)Ljava/net/URLConnection;", "GetOpenConnection_Ljava_net_URL_Handler", ApiSince=34)]
public abstract Java.Net.URLConnection OpenConnection (Java.Net.URL url);
[<Android.Runtime.Register("openConnection", "(Ljava/net/URL;)Ljava/net/URLConnection;", "GetOpenConnection_Ljava_net_URL_Handler", ApiSince=34)>]
abstract member OpenConnection : Java.Net.URL -> Java.Net.URLConnection
Parameters
- url
- URL
URL of resource to connect to.
Returns
an java.net.HttpURLConnection
instance implemented
by this HttpEngine
.
- Attributes
Remarks
Establishes a new connection to the resource specified by the URL
url
.
<b>Note:</b> This java.net.HttpURLConnection
implementation is subject to certain limitations, see #createUrlStreamHandlerFactory
for details.
Java documentation for android.net.http.HttpEngine.openConnection(java.net.URL)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.