W3cubDocs

/Haxe JavaScript

XMLSocket

package js

Available on js

By compiling the haxe.remoting.SocketWrapper into a SWF, you can create and use XMLSockets directly from Javascript.

Constructor

new (flashObject:String)

Methods

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–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/XMLSocket.html