Class DefaultBunnyClientFactory
Inheritance
DefaultBunnyClientFactory
Assembly: Volo.Abp.BlobStoring.Bunny.dll
Syntax
public class DefaultBunnyClientFactory : IBunnyClientFactory, ITransientDependency
Constructors
DefaultBunnyClientFactory(IHttpClientFactory, IDistributedCache<BunnyStorageZoneModel>, IStringEncryptionService)
Declaration
public DefaultBunnyClientFactory(IHttpClientFactory httpClient, IDistributedCache<BunnyStorageZoneModel> cache, IStringEncryptionService stringEncryptionService)
Parameters
Methods
CreateAsync(string, string, string)
Declaration
public virtual Task<BunnyCDNStorage> CreateAsync(string accessKey, string containerName, string region = "de")
Parameters
Returns
Type |
Description |
Task<BunnyCDNStorage> |
|
CreateStorageZoneAsync(string, string, string)
Declaration
protected virtual Task<BunnyStorageZoneModel> CreateStorageZoneAsync(string accessKey, string containerName, string region)
Parameters
Returns
EnsureStorageZoneExistsAsync(string, string, string, bool)
Declaration
public virtual Task EnsureStorageZoneExistsAsync(string accessKey, string containerName, string region = "de", bool createIfNotExists = false)
Parameters
Returns
GetStorageZoneAsync(string, string)
Declaration
protected virtual Task<BunnyStorageZoneModel?> GetStorageZoneAsync(string accessKey, string containerName)
Parameters
Returns
Implements
Extension Methods