IRouteInfo.GetHopTarget(Int32) 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.
Obtains the target of a hop in this route.
[Android.Runtime.Register("getHopTarget", "(I)Lorg/apache/http/HttpHost;", "GetGetHopTarget_IHandler:Org.Apache.Http.Conn.Routing.IRouteInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.HttpHost? GetHopTarget (int hop);
[<Android.Runtime.Register("getHopTarget", "(I)Lorg/apache/http/HttpHost;", "GetGetHopTarget_IHandler:Org.Apache.Http.Conn.Routing.IRouteInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetHopTarget : int -> Org.Apache.Http.HttpHost
Parameters
- hop
- Int32
index of the hop for which to get the target, 0 for first
Returns
- Attributes
Exceptions
if the argument is negative or not less than HopCount
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.