package js
Available on jsBy compiling the
haxe.remoting.SocketWrapper
into a SWF, you can create and use XMLSockets directly from Javascript.
new (flashObject:String)
close ():Void
connect (host:String, port:Int):Void
dynamic onClose ():Void
dynamic onConnect (b:Bool):Void
dynamic onData (data:String):Void
send (data:String):Void
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/XMLSocket.html