BasicResponseHandler.HandleResponse(IHttpResponse) 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.
Returns the response entity as text after validating the status.
[Android.Runtime.Register("handleResponse", "(Lorg/apache/http/HttpResponse;)Ljava/lang/String;", "GetHandleResponse_Lorg_apache_http_HttpResponse_Handler")]
public virtual string? HandleResponse(Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register("handleResponse", "(Lorg/apache/http/HttpResponse;)Ljava/lang/String;", "GetHandleResponse_Lorg_apache_http_HttpResponse_Handler")>]
abstract member HandleResponse : Org.Apache.Http.IHttpResponse -> string
override this.HandleResponse : Org.Apache.Http.IHttpResponse -> string
Parameters
- response
- IHttpResponse
The response whose body is returned when its status code is less than 300.
Returns
The response entity text, or null when the response has no entity.
- 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.