W3cubDocs

/Haxe

SocketConnection

package haxe.remoting

implements AsyncConnection

Available on all platforms

Allows remoting communications over a socket connection

Methods

call (params:Array<Dynamic>, ?onResult:Dynamic ‑> Void):Void

close ():Void

getProtocol ():SocketProtocol

processMessage (data:String):Void

resolve (name:String):AsyncConnection

setErrorHandler (h:Dynamic ‑> Void):Void

setErrorLogger (h:Array<String> ‑> Array<Dynamic> ‑> Dynamic ‑> Void):Void

setProtocol (p:SocketProtocol):Void

Static methods

static create (s:Socket, ?ctx:Context):SocketConnection

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/remoting/SocketConnection.html