Http
Http
package haxe
Available on all platformsThis class can be used to handle Http requests consistently across platforms. There are two intended usages:
- call
haxe.Http.requestUrl(url)
and receive the result as aString
(not available on flash)- create a
new haxe.Http(url)
, register your callbacks foronData
,onError
andonStatus
, then callrequest()
.
Constructor
new (url:String)
Creates a new Http instance with url
as parameter.
Thi