Stream
package lua.lib.luv
extends Handle
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):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–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/lib/luv/Stream.html