共用方式為


IHttpResponseInterceptorList.AddResponseInterceptor Method

Definition

Overloads

AddResponseInterceptor(IHttpResponseInterceptor)

Inserts a response interceptor at the specified index.

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

Inserts a response interceptor at the specified index.

AddResponseInterceptor(IHttpResponseInterceptor)

Inserts a response interceptor at the specified index.

[Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "GetAddResponseInterceptor_Lorg_apache_http_HttpResponseInterceptor_Handler:Org.Apache.Http.Protocol.IHttpResponseInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddResponseInterceptor (Org.Apache.Http.IHttpResponseInterceptor? itcp);
[<Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", "GetAddResponseInterceptor_Lorg_apache_http_HttpResponseInterceptor_Handler:Org.Apache.Http.Protocol.IHttpResponseInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor -> unit

Parameters

itcp
IHttpResponseInterceptor

the response 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

AddResponseInterceptor(IHttpResponseInterceptor, Int32)

Inserts a response interceptor at the specified index.

[Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", "GetAddResponseInterceptor_Lorg_apache_http_HttpResponseInterceptor_IHandler:Org.Apache.Http.Protocol.IHttpResponseInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddResponseInterceptor (Org.Apache.Http.IHttpResponseInterceptor? itcp, int index);
[<Android.Runtime.Register("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", "GetAddResponseInterceptor_Lorg_apache_http_HttpResponseInterceptor_IHandler:Org.Apache.Http.Protocol.IHttpResponseInterceptorListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddResponseInterceptor : Org.Apache.Http.IHttpResponseInterceptor * int -> unit

Parameters

itcp
IHttpResponseInterceptor

the response 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