W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: Server-Sent Event types

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 28 Apr 2011 17:26:11 -0700
Message-ID: <BANLkTi=vYtz9W9Tu6azt2+Dpv1z9dpGafA@mail.gmail.com>
To: Brett Zamir <brettz9@gmail.com>
Cc: public-webapps@w3.org
On Wed, Apr 27, 2011 at 11:26 PM, Brett Zamir <brettz9@gmail.com> wrote:
> I am a newcomer to the Server-Sent Events spec, so my apologies if I am
> covering old ground.
> While I can understand that Server-Sent Events may be intending to start off
> simple, I wonder whether there is some reason a formal mechanism was not
> adopted to at least allow the specification of event types. I think such a
> convention would have a number of important benefits.

After reading the entire email, I still can't tell what you mean by
'event types'.  I can only assume that you mean something like what
the spec already allows by having the author send an "event: foo"
line, which makes the next batch of data be dispatched as a "foo"
event instead of a "message" event.

Is this what you're attempting to do?

Received on Friday, 29 April 2011 00:26:58 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:31 UTC