diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-17 00:19:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 23:45:01 +0800 |
| commit | 35cde25820fe9077dbc195d3b1485cd3fb82813f (patch) | |
| tree | 1932a1ba2e916a798c3a46e698e7d1bdaa49432d /src/session.hpp | |
| parent | ad4ae6449221edbbe5fcec9c366b1748fea2ba17 (diff) | |
feat: kick client (#6)
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.hpp b/src/session.hpp index a00168f..390cd71 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -64,7 +64,7 @@ class CSession { void onRecv(const SRecvData &data); void onSend(const std::string &msg); #endif - void onShutdown(); + void onKick(const std::string &reason = "", const bool &kill = false); friend class CSessionManager; }; |
