title: Websocket API to replace REST API?
body: <p>I have an application whose primary function works in real time, through websockets or long polling.</p>
  
  <p>However, most of the site is written in a RESTful fashion, which is nice for application s and other clients in the future. However, I'm thinking about transitioning to a websocket API for all site functions, away from REST. That would make it easier for me to integrate real time features into all parts of the site. Would this make it more difficult to build applications or mobile clients?</p>
  
  <p>I found that some people are already doing stuff like this: <a href="https://github.com/socketstream/socketstream" rel="noreferrer">SocketStream</a></p>