mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
adc91cc4f3
* feat(core): connect to danmaku server with buvid3 * make buvid3 nullable & add json serializer setting * fix test * fix regex & make regex static * remove anonHttpClient * remove MainHttpClient * split FetchAsTextAsync * GetAnonymousCookieAsync * use template string in TestCookieAsync * fix test * background get anonymous cookie * make jsonSerializerSettings static * fix uid parse logic * fix buvid match * remove GetAnonCookie * restore merge typo * fix comment * rename ICookieTester
14 lines
329 B
C#
14 lines
329 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using BililiveRecorder.Core.Api.Model;
|
|
|
|
namespace BililiveRecorder.Core.Api
|
|
{
|
|
internal interface IDanmakuServerApiClient : IDisposable
|
|
{
|
|
long GetUid();
|
|
string? GetBuvid3();
|
|
Task<BilibiliApiResponse<DanmuInfo>> GetDanmakuServerAsync(int roomid);
|
|
}
|
|
}
|