using Dpz.Core.Service.ObjectStorage.Services.Impl;

namespace Dpz.Core.Service.ObjectStorage.Services;

public readonly record struct CosQueryParameter(string Name, string? Value);

public interface ICosRequestSigner
{
    HttpRequestMessage CreateRequest(
        HttpMethod method,
        string pathToFile,
        IReadOnlyCollection<CosQueryParameter> queryParameters,
        string? bucket = null,
        TimeSpan? expires = null
    );
}
评论加载中...