From 0288fc8adc7c2df1389b2d63e13cb56690d2cecb Mon Sep 17 00:00:00 2001 From: nianhua <1585346868@qq.com> Date: Wed, 19 Jun 2024 09:35:13 +0800 Subject: [PATCH] =?UTF-8?q?linux=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/net/http_wsserver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/net/http_wsserver.h b/include/net/http_wsserver.h index 120e280..9535f49 100644 --- a/include/net/http_wsserver.h +++ b/include/net/http_wsserver.h @@ -1,6 +1,7 @@ #pragma once #include "http_define.h" #if USE_NET_HTTP_WS == 1 +#include #include #include "base/define.h" #include "base/error.h" @@ -55,7 +56,7 @@ namespace ylib wsserver_lst* m_listener = nullptr; // HPServer void* m_server = nullptr; - + public: std::function m_callback_accept; std::function m_callback_recv; std::function m_callback_close;