This PR enables optionally provided an onConnectionAlive function that will be called when connection alive message is received by the subscription.
This is useful for implementing healthchecks on top of the connection status, as instructed by connection alive messages (actual message differs per protocol).
This PR enables optionally provided an
onConnectionAlive
function that will be called when connection alive message is received by the subscription.This is useful for implementing healthchecks on top of the connection status, as instructed by connection alive messages (actual message differs per protocol).