- Stable release
- Removed
StompConfig.SockJS
constructor in favor ofStompConfig.sockJS
- Regenerate Session and Server ID for SockJS on every connection (#93)
- Fixed lingering WebSocket connection on rapid disconnect after connect
- Added
StompConfig.sockJS
and deprecatedSockJS
- Added
binaryBody
toStompFrame
whencontent-type
header is missing or equalsapplication/octet-stream
(Thanks @dlfk99)
- Fixed
StompUnsubscribe
throwingStompBadStateException
in some cases
- Fixed
onWebSocketError
callback for Web - Reworked HTML connect API.
- Fixed heartbeat formatting
- Null-safety migration
- Breaking:
onConnect
callback no longer returns the client as first parameter - Breaking:
send
,subscribe
,ack
,nack
andunsubscribe
will now throw aStompBadStateException
when either the client is not correctly set up or the cient is not connected. onWebSocketError
callback will now be called on every error when trying to connect
- Fix for SockJS in web environment
- Fixed heartbeat for SockJS
- Add SockJS support
- Reconnect websocket when
WebSocketException
occurs and reconnectDelay != 0 - Fixed bug with binary messages
- Prevent
StompConfig
from losingonDebugMessage
callback oncopyWith
#22
- Catch
WebSocketChannelException
to be platform agnostic (Note: this does not work for HTML yet) - Fixed minor typo in README
- Properly catch
WebSocketException
on connect - Fixed minor typo in README
- Added Ack/Nack methods (Thanks @justacid). Note: This does not yet work for 1.0 & 1.1
- (Minor: Reformatted code according to dartanalyze)
- Changed folder structure to please pana.
- Replaced
IOWebSocketChannel
withWebSocketChannel
to be platform agnostic. This means it now also should work for flutter_web. - Made tests hybrid tests so that they cover all types of platforms
- Fixed
onConnect
being called on inactive StompClient
- Reverted type change on
stompConnectHeaders
because it caused issues on connect
- Fixed a scenario where quick connect/disconnects could cause an exception
- Breaking Change: Renamed
connectHeaders
tostompConnectHeaders
- Added
webSocketConnectHeaders
toStompConfig
to be passed to the underyling WebSocket on connection
- Fixed a bug where it would not try to reconnect when the WebSocket connection could not be established
- Added a
connectionTimeout
property to the config, to allow control over when a connection attempt is aborted
- More formatting
- Renamed package
- Added example
- Incorperated format suggestions
- Removed dependency on non-hosted package to be able to publish the package