Constructor

new(url:String, port:Int, errorCallback:() ‑> Void, closeCallback:() ‑> Void)

Methods

listen(listener:Bytes ‑> Void):Void

send(bytes:Bytes, mandatory:Bool):Void