RustFsResource Methods
ClassMethods1 member
A resource that represents a RustFs S3-compatible storage container.
GetConnectionStringAsync(CancellationToken)Section titled GetConnectionStringAsync(CancellationToken)ValueTask<string?> Gets the connection string for the RustFs server.
public sealed class RustFsResource{ public ValueTask<string?> GetConnectionStringAsync( CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
cancellationTokenCancellationTokenoptionalA Threading.CancellationToken to observe while waiting for the task to complete.Returns
ValueTask<string?>A connection string for the RustFs server in the form "Endpoint=http://host:port;AccessKey=key;SecretKey=secret".