Sdílet prostřednictvím


IManagedClientConnection.TunnelProxy(HttpHost, Boolean, IHttpParams) Method

Definition

Indicates that a tunnel to an intermediate proxy has been established.

[Android.Runtime.Register("tunnelProxy", "(Lorg/apache/http/HttpHost;ZLorg/apache/http/params/HttpParams;)V", "GetTunnelProxy_Lorg_apache_http_HttpHost_ZLorg_apache_http_params_HttpParams_Handler:Org.Apache.Http.Conn.IManagedClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void TunnelProxy (Org.Apache.Http.HttpHost? next, bool secure, Org.Apache.Http.Params.IHttpParams? params);
[<Android.Runtime.Register("tunnelProxy", "(Lorg/apache/http/HttpHost;ZLorg/apache/http/params/HttpParams;)V", "GetTunnelProxy_Lorg_apache_http_HttpHost_ZLorg_apache_http_params_HttpParams_Handler:Org.Apache.Http.Conn.IManagedClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TunnelProxy : Org.Apache.Http.HttpHost * bool * Org.Apache.Http.Params.IHttpParams -> unit

Parameters

next
HttpHost

the proxy to which the tunnel was established. This is not the proxy through which the tunnel was established, but the new end point of the tunnel. The tunnel does not yet reach to the target, use TunnelTarget(Boolean, IHttpParams) to indicate an end-to-end tunnel.

secure
Boolean

true if the connection should be considered secure, false otherwise

params
IHttpParams

the parameters for tunnelling this connection

Attributes

Exceptions

in case of a problem

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