import 'package:dio/dio.dart' hide Headers;
import 'package:dio/dio.dart';
import 'package:electronic_assistant/data/api/request/chat_request.dart';
import 'package:retrofit/retrofit.dart';

import '../consts/Constants.dart';
import 'network_module.dart';

part 'atmob_stream_api.c.dart';

abstract class AtmobStreamApi {

  Future<ResponseBody> chat(@Body() ChatRequest request);
}

final atmobStreamApi = _AtmobStreamApi(streamDio, baseUrl: Constants.baseUrl);