diff --git a/src/Http/WebSocketSession.h b/src/Http/WebSocketSession.h index cddee17b..0c4ff278 100644 --- a/src/Http/WebSocketSession.h +++ b/src/Http/WebSocketSession.h @@ -205,7 +205,7 @@ protected: * @param buffer */ void onWebSocketEncodeData(const Buffer::Ptr &buffer) override{ - SocketHelper::send(buffer); + HttpSessionType::send(buffer); } private: string _remian_data;