This commit is contained in:
aozhiwei 2023-05-28 15:48:54 +08:00
parent c4ad3b53f2
commit 0832282bbc

View File

@ -36,6 +36,7 @@ namespace a8
void ProcessWsHandShake(char* buf, int& offset, unsigned int buflen); void ProcessWsHandShake(char* buf, int& offset, unsigned int buflen);
void ProcessUserPacket(); void ProcessUserPacket();
void DecodeFrame(char* buf, int& offset, unsigned int buflen); void DecodeFrame(char* buf, int& offset, unsigned int buflen);
private: private:
std::shared_ptr<AsioTcpClient> tcp_client_; std::shared_ptr<AsioTcpClient> tcp_client_;
char *decoded_buff_ = nullptr; char *decoded_buff_ = nullptr;