package sys
extends HttpBase
Available on cs, php, neko, cpp, macro, java, lua, python, hl
staticPROXY:{port:Int, host:String, auth:{user:String, pass:String}} = nullstaticrequestUrl(url:String):StringMakes 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.
new(url:String)cnxTimeout:FloatnoShutdown:BoolresponseHeaders:Map<String, String>customRequest(post:Bool, api:Output, ?sock:Socket, ?method:String):VoidfileTransfer(argname:String, filename:String, file:Input, size:Int, mimeType:String = "application/octet-stream"):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/sys/Http.html