Http

class haxe.HttpAvailable in flash, flash9, neko, js, php var cnxTimeout : FloatAvailable in neko, php var noShutdown : BoolAvailable in neko, php var url : String function new( url : String ) : Void function customRequest( post : Bool, api : Output, ?sock : AbstractSocket, ?method : String ) : VoidAvailable in neko, php function fileTransfert( argname : String, filename : String, file : Input, size : Int ) : VoidAvailable in neko, php function onData( data : String ) : VoidShould be replaced with code to handle the server's response. function onError( msg : String ) : VoidShould be replaced with error handling code. function onStatus( status : Int ) : VoidShould be replaced with status change handling code. function request( post : Bool ) : VoidInitiates the request. function setHeader( header : String, value : String ) : Void function setParameter( param : String, value : String ) : VoidSets a parameter to be sent in the request. Multiple parameters can be set by making multiple setParameter calls. function setPostData( data : String ) : VoidAvailable in neko, js static var PROXY : { port : Int, host : String, auth : { user : String, pass : String } }Available in neko, php static function request( url : String ) : StringAvailable in neko, jsMake a request and return the server's response. static function requestUrl( url : String ) : StringAvailable in phpMake a request and return the server's response.
version #4218, modified 2008-09-09 21:04:25 by ianxm