You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A stream-returning method is required to access the file from memory without writing it to disk.
DownloadAttachmentAsync like
publicasyncTask<Stream>DownloadAttachmentAsStreamAsync(CouchAttachmentattachment,CancellationTokencancellationToken=default){Check.NotNull(attachment,nameof(attachment));if(attachment.Uri==null){thrownewInvalidOperationException("The attachment is not uploaded yet.");}returnawaitNewRequest().AppendPathSegment(attachment.DocumentId).AppendPathSegment(Uri.EscapeUriString(attachment.Name)).WithHeader("If-Match",attachment.DocumentRev).GetStreamAsync(cancellationToken).ConfigureAwait(false);}
The text was updated successfully, but these errors were encountered:
A stream-returning method is required to access the file from memory without writing it to disk.
DownloadAttachmentAsync like
The text was updated successfully, but these errors were encountered: