HttpJs

package haxe.http

extends HttpBase

Available on js

Static methods

staticrequestUrl(url:String):String

Makes a synchronous request to url.

This creates a new Http instance and makes a GET request by calling its request(false) method.

If url is null, the result is unspecified.

Constructor

new(url:String)

Variables

async:Bool

withCredentials:Bool

Methods

cancel():Void

Cancels this Http request if request has been called and a response has not yet been received.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/http/HttpJs.html