sse-codec

A futures_codec that encodes and decodes Server-Sent Event/Event Sourcing streams.

MPL-2.0 License

Downloads
240.2K
Stars
12
Committers
3

Bot releases are hidden (Show)

sse-codec - Latest Release

Published by goto-bus-stop over 4 years ago

  • Fix id: lines triggering incomplete Event::Message event.
    A stream like this:
    data:start
    id:1243
    data:end
    
    previously emitted two messages, with data start and end respectively, but should emit one with data start\nend.
sse-codec -

Published by goto-bus-stop over 4 years ago

  • Make id part of the Event::Message event, removing the separate non-spec Event::LastEventId message.
  • Ignore trailing data in the input stream.
  • Use futures_codec 0.4.0.
sse-codec -

Published by goto-bus-stop over 4 years ago

  • Fix messages being dropped when parsing a stream. (@bekh6ex, #1)
sse-codec -

Published by goto-bus-stop almost 5 years ago

  • Initial release.