Azure / Azure/azure-storage-cpplite

Function to check validity of client

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
26
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Can't find any function to check if a client connection is valid (accessible and sas token valid), until after trying to upload/download something. Ideally I would like to verify my client before operating on it. Something like:
```
auto cred = std::make_shared(sas_token);
auto account = std::make_shared(ACCOUNT_NAME, cred, USE_HTTPS);
auto client = std::make_shared(account, MAX_CONCURRENCY);
bool valid = client->valid(); // I'm missing something like this
```
What do you think?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.