redef fun write(str)
do
if closed then return
str.append_to_bytes bytes
end
lib/core/stream.nit:642,2--646,4
# Write a string to the connection
redef fun write(str)
do
if close_requested then return
native_buffer_event.write(str.to_cstring, str.byte_length)
end
lib/libevent/libevent.nit:232,2--237,4
redef fun write(s)
do
if last_error != null then return
if not _is_writable then
last_error = new IOError("cannot write to non-writable stream")
return
end
s.write_native_to(self)
end
lib/core/file.nit:221,2--229,4
redef fun write(s) do stream_out.write(s)
lib/core/exec.nit:377,2--42
redef fun write(msg) do origin.write_bytes(frame_message(msg))
lib/websocket/websocket.nit:286,2--63