-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
websocket: Make StatusConnectionListener generic
Only the call to get the status is status-specific, the rest of the code marshalling the data, fetching it every few seconds, ... is applicable to anything we want to send through websocket. This commit extracts the 'status' bit from the generic code, this will be useful if we add other similar websocket calls.
- Loading branch information
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters