Cleanup and reformatting

This commit is contained in:
Paul-Louis Ageneau
2020-11-28 16:37:46 +01:00
parent ffe202a6a2
commit 244c834992
9 changed files with 125 additions and 99 deletions

View File

@ -49,7 +49,7 @@ public:
struct Configuration {
bool disableTlsVerification = false; // if true, don't verify the TLS certificate
std::optional<std::vector<string>> protocols = std::nullopt;
std::vector<string> protocols;
};
WebSocket(std::optional<Configuration> config = nullopt);