mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine http request post. 2.0.132.
This commit is contained in:
parent
3982ec1d87
commit
964e4be9d4
6 changed files with 88 additions and 259 deletions
|
@ -57,10 +57,9 @@ public:
|
|||
/**
|
||||
* to post data to the uri.
|
||||
* @param req the data post to uri. empty string to ignore.
|
||||
* @param status_code the output status code response by server.
|
||||
* @param res output the response data from server.
|
||||
* @param ppmsg output the http message to read the response.
|
||||
*/
|
||||
virtual int post(SrsHttpUri* uri, std::string req, int& status_code, std::string& res);
|
||||
virtual int post(SrsHttpUri* uri, std::string req, SrsHttpMessage** ppmsg);
|
||||
/**
|
||||
* to get data from the uri.
|
||||
* @param req the data post to uri. empty string to ignore.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue