protected virtual async UniTask<SthResponse> _getAllResponseAsync(CancellationToken cancellationToken)
{
if (_allResponse != null)
{
return _allResponse;
}
_allResponse = await GetAsync<SthResponse>("SthAPI/AllResponseApi", cancellationToken);
_webApiRequester.SetMasterVersion(_allResponse.Version);
return _allResponse;
}
public async UniTask<TResponse> GetAsync<TResponse>(string path, CancellationToken cancellationToken)
where TResponse : class
{
return await Get<TResponse>(path).GetValue(cancellationToken);
}
続く