BililiveRecorder/BililiveRecorder.Core/Api/IApiClient.cs

13 lines
345 B
C#
Raw Normal View History

2021-02-23 18:03:37 +08:00
using System;
using System.Threading.Tasks;
using BililiveRecorder.Core.Api.Model;
namespace BililiveRecorder.Core.Api
{
internal interface IApiClient : IDisposable
2021-02-23 18:03:37 +08:00
{
Task<BilibiliApiResponse<RoomInfo>> GetRoomInfoAsync(int roomid);
2021-07-09 19:48:39 +08:00
Task<BilibiliApiResponse<RoomPlayInfo>> GetStreamUrlAsync(int roomid, int qn);
2021-02-23 18:03:37 +08:00
}
}