Udostępnij za pośrednictwem


IHttpRequestInterceptorList.AddRequestInterceptor Method

Definition

Overloads

AddRequestInterceptor(IHttpRequestInterceptor)

Inserts a request interceptor at the specified index.

AddRequestInterceptor(IHttpRequestInterceptor, Int32)

Inserts a request interceptor at the specified index.

AddRequestInterceptor(IHttpRequestInterceptor)

Inserts a request interceptor at the specified index.

[Android.Runtime.Register("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", "GetAddRequestInterceptor_Lorg_apache_http_HttpRequestInterceptor_Handler:Org.Apache.Http.Protocol.IHttpRequestInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddRequestInterceptor (Org.Apache.Http.IHttpRequestInterceptor? itcp);
[<Android.Runtime.Register("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", "GetAddRequestInterceptor_Lorg_apache_http_HttpRequestInterceptor_Handler:Org.Apache.Http.Protocol.IHttpRequestInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddRequestInterceptor : Org.Apache.Http.IHttpRequestInterceptor -> unit

Parameters

itcp
IHttpRequestInterceptor

the request interceptor to add

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

AddRequestInterceptor(IHttpRequestInterceptor, Int32)

Inserts a request interceptor at the specified index.

[Android.Runtime.Register("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", "GetAddRequestInterceptor_Lorg_apache_http_HttpRequestInterceptor_IHandler:Org.Apache.Http.Protocol.IHttpRequestInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddRequestInterceptor (Org.Apache.Http.IHttpRequestInterceptor? itcp, int index);
[<Android.Runtime.Register("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", "GetAddRequestInterceptor_Lorg_apache_http_HttpRequestInterceptor_IHandler:Org.Apache.Http.Protocol.IHttpRequestInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddRequestInterceptor : Org.Apache.Http.IHttpRequestInterceptor * int -> unit

Parameters

itcp
IHttpRequestInterceptor

the request interceptor to add

index
Int32

the index to insert the interceptor at

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