udp admin support

This commit is contained in:
Richard Holland
2024-11-13 11:35:59 +11:00
parent 58b22901cb
commit 18ba28f309
7 changed files with 463 additions and 8 deletions

View File

@@ -144,6 +144,14 @@ public:
{
}
void
onUDPMessage(
std::string const& message,
boost::asio::ip::tcp::endpoint const& remoteEndpoint,
std::function<void(std::string const&)> sendResponse)
{
}
void
onClose(Session& session, boost::system::error_code const&)
{
@@ -349,6 +357,14 @@ public:
{
}
void
onUDPMessage(
std::string const& message,
boost::asio::ip::tcp::endpoint const& remoteEndpoint,
std::function<void(std::string const&)> sendResponse)
{
}
void
onClose(Session& session, boost::system::error_code const&)
{