Update POCO library.

This commit is contained in:
Sandu Liviu Catalin committed 2023-03-23 20:19:11 +02:00
1 parent 8d15f4b6e9
commit 233fc103f9
2521 files changed
+257092 -72789

No files matched your search

+10
View File
@@ -87,6 +87,11 @@ public:
Client(const Net::SocketAddress& addrs);
/// Constructor which connects to the given Redis host/port.
Client(const Net::StreamSocket& socket);
/// Constructor which connects using an existing TCP
/// connection. This can be used to connect via TLS, if the
/// given socket is a Poco::Net::SecureStreamSocket.
virtual ~Client();
/// Destroys the Client.
@@ -113,6 +118,11 @@ public:
void connect(const Net::SocketAddress& addrs, const Timespan& timeout);
/// Connects to the given Redis server.
void connect(const Net::StreamSocket& socket);
/// Connects to the given Redis server using an existing TCP
/// connection. This can be used to connect via TLS, if the
/// given socket is a Poco::Net::SecureStreamSocket.
void disconnect();
/// Disconnects from the Redis server.
+6
View File
@@ -270,6 +270,12 @@ public:
static Command discard();
/// Creates and returns a DISCARD command.
static Command auth(const std::string& password);
/// Creates and returns an AUTH command with the given password.
static Command auth(const std::string& username, const std::string& password);
/// Creates and returns an AUTH command with the given password.
};