Is it possible to implement a server that responds...
# spring
l
Is it possible to implement a server that responds both HTTP calls and WebSockets using
router { }
block? I've been developing an API without Spring annotations but couldn't understand how to wire them. Here is my last attempt: https://github.com/lucasvalenteds/responder/commit/1e4714304b0a24d59a55e36770b476c954b2dee1
@sdeleuze Could you help with that, please?
s
Good question, I am going to have a look
👍 1
Ok so good catch, it is not supported yet with the functional endpoints, could you please create an issue for that on https://jira.spring.io/projects/SPR/?
The exchange is not exposed directly in the functional API so not sure about the workaround
l
Thank you, @sdeleuze. Here is the issue created: https://jira.spring.io/browse/SPR-16770