TF-3157 Implement web socket push
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/session/session.dart';
|
||||
import 'package:tmail_ui_user/features/push_notification/data/datasource/web_socket_datasource.dart';
|
||||
import 'package:tmail_ui_user/features/push_notification/domain/repository/web_socket_repository.dart';
|
||||
|
||||
class WebSocketRepositoryImpl implements WebSocketRepository {
|
||||
final WebSocketDatasource _webSocketDatasource;
|
||||
|
||||
WebSocketRepositoryImpl(this._webSocketDatasource);
|
||||
|
||||
@override
|
||||
Stream getWebSocketChannel(Session session, AccountId accountId)
|
||||
=> _webSocketDatasource.getWebSocketChannel(session, accountId);
|
||||
}
|
||||
Reference in New Issue
Block a user