w3c_event_source 1.3.2 copy "w3c_event_source: ^1.3.2" to clipboard
w3c_event_source: ^1.3.2 copied to clipboard

W3C EventSource client implementation for Dart / Flutter, to communicate with server-sent event endpoints.

w3c_event_source change log #

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

1.3.2 #

  • Prepare for upcoming Uint8List change to HttpClientResponse. (@tvolkert)

1.3.1 #

  • Prepare for upcoming change to HttpRequest and HttpClientResponse. (@tvolkert)

1.3.0 #

  • Delay reconnecting with randomized exponential backoff. (@mpx)
  • Reconnect after event stream request ends. (@mpx)
  • Reconnect after protocol errors (invalid UTF-8, non-200 OK status codes). (@mpx)
  • Stop event stream after 204 No Content. (@mpx)
  • Ensure resources are released for old connections. (@mpx)

1.2.2 #

  • Revert data event commit, which was a misreading of the spec. (@mpx)

1.2.1 #

  • Ensure data event data ends in \n per the spec. (@mpx)
  • Fix event name bug in multiline data messages. (@mpx)

1.2.0 #

  • Allow passing in a custom HttpClient factory. (@mpx)

1.1.0 #

  • Implement auto-reconnect.

1.0.0 #

  • Initial release.
5
likes
25
pub points
66%
popularity

Publisher

unverified uploader

W3C EventSource client implementation for Dart / Flutter, to communicate with server-sent event endpoints.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on w3c_event_source