eventsource library

Support for doing something awesome.

More dartdocs go here.

Classes

Event

Functions

eventsourceEventStreamer(Context ctx, Stream<Event> events, {bool compress = false, void onDone(), dynamic debug}) Future<void>
Upgrades HTTP request to event source and streams events to it.
eventsourceStreamer(Context ctx, Stream<String> data, {bool compress = false, void onDone(), dynamic debug}) Future<void>
Upgrades HTTP request to event source and streams data to it.
toEventsource(Context ctx, {bool compress = false}) Future<bool>
Upgrades HTTP request to event source.