Compartilhar via


HttpRequestExecutor.DoReceiveResponse Method

Definition

Wait for and receive a response.

[Android.Runtime.Register("doReceiveResponse", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetDoReceiveResponse_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpClientConnection_Lorg_apache_http_protocol_HttpContext_Handler")]
protected virtual Org.Apache.Http.IHttpResponse? DoReceiveResponse (Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.IHttpClientConnection? conn, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("doReceiveResponse", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetDoReceiveResponse_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpClientConnection_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member DoReceiveResponse : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse
override this.DoReceiveResponse : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse

Parameters

request
IHttpRequest

the request for which to obtain the response

conn
IHttpClientConnection

the connection over which the request was sent

context
IHttpContext

the context for receiving the response

Returns

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