W3cubDocs

/Haxe

Stream

package lua.lib.luv

extends Handle

extended by Tcp, Pipe, Tty

Available on lua

Methods

accept (client_stream:Stream):Int

is_readable ():Bool

is_writable ():Bool

listen (backlog:Int, cb:String ‑> String ‑> Void):Int

read_start (cb:String ‑> String ‑> Void):Int

read_stop ():Int

set_blocking (blocking:Bool):Int

shutdown (?cb:Void ‑> Void):Int

try_write (data:StreamData):Int

write (data:StreamData, ?cb:String ‑> Bool ‑> Void):Int

write2 (data:StreamData, send_handle:Tcp, cb:String ‑> Bool ‑> Void):Int

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/lua/lib/luv/Stream.html