minor internal refactor

This commit is contained in:
Hiroshi Horie
2022-03-08 07:34:19 +09:00
parent 47b9329c67
commit 11f40e13cf
3 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
WebSocketEventHandlers(
onData: _onSocketData,
onDispose: _onSocketDispose,
onError: _handleError,
onError: _onSocketError,
),
);
// Successful connection
@@ -218,7 +218,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
}
}
void _handleError(dynamic error) {
void _onSocketError(dynamic error) {
logger.warning('received websocket error $error');
}