forked from eatvio/eatvio_app
15 lines
360 B
Dart
15 lines
360 B
Dart
import 'package:dio/dio.dart';
|
|
import 'package:eatvio_app/features/chat/models/websocket_info_model.dart';
|
|
import 'package:retrofit/retrofit.dart';
|
|
|
|
part 'ws_service.g.dart';
|
|
|
|
|
|
@RestApi()
|
|
abstract class WsService {
|
|
|
|
factory WsService(Dio dio, {String baseUrl}) = _WsService;
|
|
|
|
@GET('/api/profile/ws/params')
|
|
Future<WebsocketInfoModel> getWebsocket();
|
|
} |