mwylde / em-websocket-client

EventMachine client library for WebSockets
MIT License
33 stars 11 forks source link

Input data from keyboard #2

Open v3rmin opened 11 years ago

v3rmin commented 11 years ago

How do I keep the connection open so I can input data from the keyboard?

HParker commented 9 years ago

This seems like it might be more of an event machine question than a web socket question. Hard to tell without more context. I did a quick google though, and it looks like event machine will work with keyboard input: https://github.com/eventmachine/eventmachine/wiki/Code-Snippets