diff options
Diffstat (limited to 'include/libsock/server/client.hpp')
| -rw-r--r-- | include/libsock/server/client.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libsock/server/client.hpp b/include/libsock/server/client.hpp index 6a5aa88..3b0d38d 100644 --- a/include/libsock/server/client.hpp +++ b/include/libsock/server/client.hpp @@ -89,7 +89,7 @@ class Clients { void addClient(const Client &client); bool nameExists(const std::string &name); - void shutdownClients(); + void shutdownClients(std::optional<std::function<std::any(const std::vector<std::pair<std::jthread, SP<Client>>> &)>> cb = std::nullopt); SP<Client> getByName(const std::string &name) const; SP<Client> getByIp(const std::string &ip) const; |
