onMessage property

PublishSubject<String> onMessage
getter/setter pair

This callback will be called when we receive a message from server

Implementation

PublishSubject<String> onMessage = PublishSubject<String>();