Constructor

new(?loop:Loop)

Methods

bind(host:Host, port:Int):Void

connect(host:Host, port:Int, onConnected:Bool ‑> Void):Void

Inherited Variables

Inherited Methods

Defined by Stream

listen(n:Int, onConnect:() ‑> Void):Void

readStart(onData:Bytes ‑> Void):Void

readStartRaw(onData:(Bytes, Int) ‑> Void):Void

@:value({ len : -1, pos : 0 })write(bytes:Bytes, ?onWrite:Bool ‑> Void, pos:Int = 0, len:Int = -1):Void

Defined by Handle

close(?callb:() ‑> Void):Void