I can't work out how to run both websocket and normal http requests off the same server.
eg.
http://example.com/cat/5 would return a rest json response
http://example.com/images/cat.jpg would return an image out of the module
http://example.com/chat would be a sockjs or websocket connection
The first two are simple enough with a router, but I have no idea how to integrate the 3rd.
What's the best way to do this..? Seems pretty standard, I think most new services would need urls like this.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/ooQ17NHaTR0/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to vertx+un...@googlegroups.com.