sse 3.2.0 sse: ^3.2.0 copied to clipboard
Provides client and server functionality for setting up bi-directional communication through Server Sent Events (SSE) and corresponding POST requests.
3.2.0 #
- Re-expose
isInKeepAlivePeriod
flag onSseConnection
. This flag will betrue
when a connection has been dropped and is in the keep-alive period waiting for a client to reconnect.
3.1.2 #
- Fix an issue where the
SseClient
would not send adone
event when there was an error with the SSE connection.
3.1.1 #
- Make
isInKeepAlive
onSseConnection
private.
Note that this is a breaking change but in actuality no one should be depending on this API.
3.1.0 #
- Add optional
keepAlive
parameter to theSseHandler
. IfkeepAlive
is supplied, the connection will remain active for this period after a disconnect and can be reconnected transparently. If there is no reconnect within that period, the connection will be closed normally.
3.0.0 #
- Add retry logic.
Possible Breaking Change Error messages may now be delayed up to 5 seconds in the client.
2.1.2 #
- Remove
package:http
dependency.
2.1.1 #
- Use proper headers delimiter.
2.1.0 #
- Support Firefox.
2.0.3 #
- Fix an issue where messages could come out of order.
2.0.2 #
- Support the latest
package:stream_channel
. - Require Dart SDK
>=2.1.0 <3.0.0
.
2.0.1 #
- Update to
package:uuid
version 2.0.
2.0.0 #
- No longer expose
close
andonClose
on anSseConnection
. This is simply handled by the underlyingstream
/sink
. - Fix a bug where resources of the
SseConnection
were not properly closed.
1.0.0 #
- Internal cleanup.
0.0.1 #
- Initial commit.