KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am surprised that I can't find any questions on this. How do you implement REST over WebSockets uniformly? I am building a web app and would like to use websockets over ajax calls. First, how do you represent a URI? Second, how do you represent the HTTP methods (GET, PUT, POST, …)? socket.emit('set', ...) socket.emit('get', ...) socket.emit('delete', ...)
Tags (comma-separated)
Save Edits
Cancel