mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-21 19:27:09 +01:00
Update POCO library.
This commit is contained in:
1 parent
8d15f4b6e9
commit
233fc103f9
2521 files changed
+257092
-72789
No files matched your search
+10
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user