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

Cédric Tran-Xuan cedric.tranxuan at streamdata.io
Mon Oct 3 02:34:43 EDT 2016


Done!

https://issues.jboss.org/browse/UNDERTOW-855

Thanks in advance!

Cédric.

On Sat, Oct 1, 2016 at 1:34 AM, Stuart Douglas <sdouglas at redhat.com> wrote:

> This is a missing feature. If you file a feature request JIRA I will add
> it.
>
> Stuart
>
> On Sat, Oct 1, 2016 at 2:05 AM, Cédric Tran-Xuan
> <cedric.tranxuan at motwin.com> wrote:
> > 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.
> >
> >
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20161003/7074139f/attachment.html 


More information about the undertow-dev mailing list