共用方式為


ProxySelectorRoutePlanner.ChooseProxy 方法

定義

[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

參數

proxies
IList<Proxy>
target
HttpHost
request
IHttpRequest
context
IHttpContext

傳回

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於