This commit is contained in:
2024-10-17 18:03:47 +03:00
parent cbc69bb9ce
commit 672788d59d
2 changed files with 10 additions and 4 deletions

View File

@@ -267,6 +267,7 @@ public:
std::function<void(SocketT*)> onOpen;
std::function<void(SocketT*, std::error_code)> onClose;
std::function<void(SocketT*, std::span<const char>)> onData;
std::function<void(SocketT*, std::error_code)> onError;
};
@@ -277,6 +278,8 @@ public:
{
}
void stop() {}
protected:
ServerControls _serverControls;
};