Udostępnij za pośrednictwem


ProxySelectorRoutePlanner.ChooseProxy Method

Definition

[Android.Runtime.Register("chooseProxy", "(Ljava/util/List;Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Ljava/net/Proxy;", "GetChooseProxy_Ljava_util_List_Lorg_apache_http_HttpHost_Lorg_apache_http_HttpRequest_Lorg_apache_http_protocol_HttpContext_Handler")]
protected virtual Java.Net.Proxy? ChooseProxy (System.Collections.Generic.IList<Java.Net.Proxy>? proxies, Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("chooseProxy", "(Ljava/util/List;Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Ljava/net/Proxy;", "GetChooseProxy_Ljava_util_List_Lorg_apache_http_HttpHost_Lorg_apache_http_HttpRequest_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member ChooseProxy : System.Collections.Generic.IList<Java.Net.Proxy> * Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest * Org.Apache.Http.Protocol.IHttpContext -> Java.Net.Proxy
override this.ChooseProxy : System.Collections.Generic.IList<Java.Net.Proxy> * Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest * Org.Apache.Http.Protocol.IHttpContext -> Java.Net.Proxy

Parameters

proxies
IList<Proxy>
target
HttpHost
request
IHttpRequest
context
IHttpContext

Returns

Attributes

Remarks

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.

Applies to