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