Net::WebSocket::Server class of PicoRuby
Singleton methods
new
Net::WebSocket::Server.new(?host: String, ?port: Integer) -> void
Instance methods
accept
instance.accept() -> Server::Connection
accept_loop
instance.accept_loop() { (Server::Connection) -> void } -> void
close
instance.close() -> void
start
instance.start() -> bool
Attr accessors
host (reader)
instance.host -> String
port (reader)
instance.port -> Integer