title: Use Retrofit to consume Server Sent Events
body: <p>I am trying to consume a rest api <a href="https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-events" rel="nofollow">[1]</a> that sends server sent events to the client.
  I am currently using retrofit from square  to consume this but I am not sure how to do it.
  Can some one who has prior experience working with retrofit help ?
  If not retrofit please suggest other Java libraries that can do that.</p>
  
  <p>[1] <a href="https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-events" rel="nofollow">https://mesosphere.github.io/marathon/docs/rest-api.html#get-v2-events</a></p>