Press on the image to return to the main documentation page.
HTTP
The HTTP library allows you to communicate with web services and to download resources from the web. As network communication can be slow and fragile this library handles the requests and responses in the background and raises events when a task is ready.
HttpClient allows you to make Http requests. Instead of using HttpClient directly it is recommended to use HttpUtil2 modules which are much simpler to use.
Permissions:
android.permission.INTERNET
Events:
ResponseSuccess (Response As HttpResponse, TaskId As Int) ResponseError (Response As HttpResponse, Reason As String, StatusCode As Int, TaskId As Int)
An object that holds the response returned from the server. The object is passed in the ResponseSuccess event. You can choose to read the response synchronously or asynchronously. It is important to release this object when it is not used anymore by calling Release.