Http

Http

package haxe

Available on all platforms

This 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 a String (not available on flash)
  • create a new haxe.Http(url), register your callbacks for onData, onError and onStatus, then call request().

Constructor

new (url:String)

Creates a new Http instance with url as parameter.

Thi