[undertow-dev] Server-Sent Event: support of retry reconnection time

Cédric Tran-Xuan cedric.tranxuan at motwin.com
Fri Sep 30 12:05:13 EDT 2016


Hello,
We are using the Undertow SSE support.
In the SSE spec, it is possible to send a "retry: <time in milliseconds>"
that tells the client to try a reconnection after a certain amount of time (
https://html.spec.whatwg.org/multipage/comms.html#concept-event-stream-reconnection-time
).
Right now, we haven't found the ability to send the "retry" via the
Undertow API.

If we look at the ServerSentEventConnection class, you can only send an
event, an id and a data.

So, is it a missing feature or is there a way, we may have missed, to send
the "retry"?

Thanks in advance for the answer!
Best regards,

Cédric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20160930/aa468eb6/attachment.html 


More information about the undertow-dev mailing list