Esempio n. 1
0
        public virtual async Task <AttachmentResponse> GetAsync(GetAttachmentRequest request, CancellationToken cancellationToken = default)
        {
            var httpRequest = GetAttachmentHttpRequestFactory.Create(request);

            using (var res = await SendAsync(httpRequest, cancellationToken).ForAwait())
            {
                return(await AttachmentResponseFactory.CreateAsync(res).ForAwait());
            }
        }