mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
websocket客户端添加获取http连接的接口,方便设置http请求头
This commit is contained in:
parent
0e27704859
commit
58d5026191
@ -386,6 +386,10 @@ public:
|
||||
_wsClient->startWsClient(ws_url,fTimeOutSec);
|
||||
}
|
||||
|
||||
HttpClient &getHttpClient() {
|
||||
return *_wsClient;
|
||||
}
|
||||
|
||||
private:
|
||||
typename HttpWsClient<ClientType,DataType>::Ptr _wsClient;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user