Class: WEBSocket::Base::Server
- Inherits:
-
Object
- Object
- WEBSocket::Base::Server
- Defined in:
- lib/WEBSocket/server.rb
Instance Method Summary collapse
Instance Method Details
#accept ⇒ Object
4 5 6 |
# File 'lib/WEBSocket/server.rb', line 4 def accept WEBSocket::AcceptedSocket.new(@server.accept).connect end |
#accept_nonblock ⇒ Object
8 9 10 |
# File 'lib/WEBSocket/server.rb', line 8 def accept_nonblock WEBSocket::AcceptedSocket.new(@server.accept_nonblock).connect end |
#evented? ⇒ Boolean
16 17 18 |
# File 'lib/WEBSocket/server.rb', line 16 def evented? false end |
#to_io ⇒ Object
12 13 14 |
# File 'lib/WEBSocket/server.rb', line 12 def to_io @server end |