Skip to content

Commit

Permalink
Expose Client as public prop for low level access
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Sep 20, 2023
1 parent f334ce3 commit 5b9a5e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Foundatio.Aliyun/Storage/AliyunFileStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public AliyunFileStorage(Builder<AliyunFileStorageOptionsBuilder, AliyunFileStor
: this(builder(new AliyunFileStorageOptionsBuilder()).Build()) { }

ISerializer IHaveSerializer.Serializer => _serializer;
public OssClient Client => _client;

public async Task<Stream> GetFileStreamAsync(string path, CancellationToken cancellationToken = default) {
if (String.IsNullOrEmpty(path))
Expand Down

0 comments on commit 5b9a5e8

Please sign in to comment.