mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
private the srs_vhost_resolve
This commit is contained in:
parent
17bb31cab1
commit
fba1122835
3 changed files with 40 additions and 77 deletions
|
@ -62,18 +62,6 @@ extern void srs_discovery_tc_url(
|
|||
std::string& app, int& port, std::string& param
|
||||
);
|
||||
|
||||
/**
|
||||
* resolve the vhost in query string
|
||||
* @pram vhost, update the vhost if query contains the vhost.
|
||||
* @param app, may contains the vhost in query string format:
|
||||
* app?vhost=request_vhost
|
||||
* app...vhost...request_vhost
|
||||
* @param param, the query, for example, ?vhost=xxx
|
||||
*/
|
||||
extern void srs_vhost_resolve(
|
||||
std::string& vhost, std::string& app, std::string& param
|
||||
);
|
||||
|
||||
/**
|
||||
* generate ramdom data for handshake.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue