Выполнение работы на 4.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace Messenger.Api.Services;
|
||||
|
||||
public interface IAttachmentStorage
|
||||
{
|
||||
Task CheckAsync(CancellationToken ct);
|
||||
Task PutAsync(
|
||||
string objectKey,
|
||||
Stream content,
|
||||
string contentType,
|
||||
CancellationToken ct);
|
||||
|
||||
Task CopyToAsync(
|
||||
string objectKey,
|
||||
Stream destination,
|
||||
CancellationToken ct);
|
||||
|
||||
Task DeleteAsync(
|
||||
string objectKey,
|
||||
CancellationToken ct);
|
||||
}
|
||||
Reference in New Issue
Block a user