This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Transport v1.2.0
NOTE: This release includes breaking changes
Change logs
Service Lifecycle Manager - #12
- (new) Ability to specify lifecycle hooks on Fabric Services via
ServiceLifecycleManager
. (prerequisite before Plank module can be merged into main branch)
Broker API improvements - #13
- (change)
BrokerConnectorConfig
updated with new options to allow customizing various parameters for broker connection such as TLS, STOMP heartbeat and extra headers for WebSocket upgrade and/or CONNECT message frames - (change)
BridgeClient
'sConnect()
method signature changed to accept*BrokerConnectorConfig
instead ofhttp.Header
for more precise controlling of connection and handshake behaviors - (change)
SendMessage()
signature onConnection
interface changed to specify the MIME type of the payload. To provide the same previous behavior a new method namedSendJSONMessage()
was added - (new) Frame handlers can now be specified as an optional list as the last parameters of the
SendMessage()
method to pre-process messages before sent over to the broker
Notes
- While
BridgeClient
'sConnnect()
method had a change in function signature, it is not encouraged for users to consume it directly. UseBrokerConnector
that handles low level details for you