HttpRequestExecutor.DoSendRequest 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.
Send a request over a connection.
[Android.Runtime.Register("doSendRequest", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetDoSendRequest_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpClientConnection_Lorg_apache_http_protocol_HttpContext_Handler")]
protected virtual Org.Apache.Http.IHttpResponse? DoSendRequest(Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.IHttpClientConnection? conn, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("doSendRequest", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetDoSendRequest_Lorg_apache_http_HttpRequest_Lorg_apache_http_HttpClientConnection_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member DoSendRequest : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse
override this.DoSendRequest : Org.Apache.Http.IHttpRequest * Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse
Parameters
- request
- IHttpRequest
the request to send, already PreProcess(IHttpRequest, IHttpProcessor, IHttpContext)
the connection over which to send the request, already established
- context
- IHttpContext
the context for sending the request
Returns
A terminal response received as part of an expect-continue handshake, or null if no terminal response is received.
- 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.