Skip to content

Validin/warmer-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warmer-websocket

This is a pure Ruby websocket implementation. It supports TLS (wss://) clients and servers and requires no additional dependencies.

Example Server

Echo messages received back to the client

options = { :host => 'localhost', :port => '8088' }
socket_server = WebSocket::Server.new(options)
socket_server.run!
server.on(:text) do |conn, payload|
  conn.send_frame(1, payload.string)
end

Testing

To run tests, run make test.

About

Pure Ruby websocket client and server implementation, with tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors