Esempio n. 1
0
        public async Task <T> ReadJsonAsync <T>(Func <PathOf, string> pathFunc, CancellationToken ct = default)
        {
            var path = pathFunc(GetPathOf());

            try
            {
                return(await _client.ReadJsonAsync <T>(path));
            }
            catch (ApiException <DownloadError> )
            {
                return(default);