BililiveRecorder/BililiveRecorder.Core/Api/IDanmakuServerApiClient.cs
进栈检票 324c41ab1d
feat(core): connect to danmaku server with account credentials (#498)
* danmaku: get svr with ck & conn with uid from ck

* apply code chagnes for pr

* fix bug and add description in advanced settings

* fix test

---------

Co-authored-by: genteure <genteure@gmail.com>
2023-07-04 00:34:11 +00:00

13 lines
300 B
C#

using System;
using System.Threading.Tasks;
using BililiveRecorder.Core.Api.Model;
namespace BililiveRecorder.Core.Api
{
internal interface IDanmakuServerApiClient : IDisposable
{
long GetUid();
Task<BilibiliApiResponse<DanmuInfo>> GetDanmakuServerAsync(int roomid);
}
}