Http
package sys
extends HttpBase
Available on cs, php, neko, cpp, macro, java, lua, python, hl
Static variables
staticPROXY:{port:Int, host:String, auth:{user:String, pass:String}} = null
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
cnxTimeout:Float
noShutdown:Bool
responseHeaders:Map<String, String>
Methods
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