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}} = null
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.
new(url:String)
cnxTimeout:Float
noShutdown:Bool
responseHeaders:Map<String, String>
customRequest(post:Bool, api:Output, ?sock:Socket, ?method:String):Void
fileTransfer(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