Compartilhar via


HttpRequestExecutor.PreProcess Method

Definition

Prepare a request for sending.

[Android.Runtime.Register("preProcess", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpProcessor;Lorg/apache/http/protocol/HttpContext;)V", "GetPreProcess_Lorg_apache_http_HttpRequest_Lorg_apache_http_protocol_HttpProcessor_Lorg_apache_http_protocol_HttpContext_Handler")]
public virtual void PreProcess (Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Protocol.IHttpProcessor? processor, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("preProcess", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpProcessor;Lorg/apache/http/protocol/HttpContext;)V", "GetPreProcess_Lorg_apache_http_HttpRequest_Lorg_apache_http_protocol_HttpProcessor_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member PreProcess : Org.Apache.Http.IHttpRequest * Org.Apache.Http.Protocol.IHttpProcessor * Org.Apache.Http.Protocol.IHttpContext -> unit
override this.PreProcess : Org.Apache.Http.IHttpRequest * Org.Apache.Http.Protocol.IHttpProcessor * Org.Apache.Http.Protocol.IHttpContext -> unit

Parameters

request
IHttpRequest

the request to prepare

processor
IHttpProcessor

the processor to use

context
IHttpContext

the context for sending the request

Attributes

Exceptions

in case of a protocol or processing problem

in case of an I/O 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