mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code for api, add clients and parse_rest_id
This commit is contained in:
parent
ab4620870d
commit
a7589b9ad3
7 changed files with 93 additions and 10 deletions
|
|
@ -246,6 +246,10 @@ public:
|
|||
virtual std::string host();
|
||||
virtual std::string path();
|
||||
virtual std::string ext();
|
||||
/**
|
||||
* get the RESTful matched id.
|
||||
*/
|
||||
virtual int parse_rest_id(std::string pattern);
|
||||
public:
|
||||
/**
|
||||
* read body to string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue