From 58d5026191f6c7f8f5604527454ccc1961ff8bb1 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Thu, 22 Jul 2021 15:48:10 +0800 Subject: [PATCH] =?UTF-8?q?websocket=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=8E=B7=E5=8F=96http=E8=BF=9E=E6=8E=A5=E7=9A=84?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=96=B9=E4=BE=BF=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?http=E8=AF=B7=E6=B1=82=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/WebSocketClient.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Http/WebSocketClient.h b/src/Http/WebSocketClient.h index eaedd687..e4abd53c 100644 --- a/src/Http/WebSocketClient.h +++ b/src/Http/WebSocketClient.h @@ -386,6 +386,10 @@ public: _wsClient->startWsClient(ws_url,fTimeOutSec); } + HttpClient &getHttpClient() { + return *_wsClient; + } + private: typename HttpWsClient::Ptr _wsClient; };