mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-31 02:30:52 +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