mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-23 23:49:21 +00:00
Merge pull request #278 from hhgyu/add-support-protocols
support Subprotocols
This commit is contained in:
@ -49,6 +49,7 @@ public:
|
||||
|
||||
struct Configuration {
|
||||
bool disableTlsVerification = false; // if true, don't verify the TLS certificate
|
||||
std::optional<std::vector<string>> protocols = std::nullopt;
|
||||
};
|
||||
|
||||
WebSocket(std::optional<Configuration> config = nullopt);
|
||||
|
Reference in New Issue
Block a user