Net::WebSocket::Server::Connection class of PicoRuby

Singleton methods

new

Net::WebSocket::Server::Connection.new(TCPSocket socket) -> void

Instance methods

close

instance.close(?Integer, ?String) -> void

closed?

instance.closed?() -> bool

ping

instance.ping(?String) -> Integer

receive

instance.receive(?timeout: Integer?) -> String?

send

instance.send(String, ?type: Symbol) -> Integer

send_binary

instance.send_binary(String) -> Integer

send_text

instance.send_text(String) -> Integer
Tags: class