mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine http client, use initialize to set host and port.
This commit is contained in:
parent
2bcb4f811c
commit
1277968d4a
6 changed files with 59 additions and 66 deletions
|
|
@ -473,11 +473,6 @@ public:
|
|||
virtual int update(std::string url, http_parser* header,
|
||||
SrsFastBuffer* body, std::vector<SrsHttpHeaderField>& headers
|
||||
);
|
||||
/**
|
||||
* update the request with uri.
|
||||
* @remark user can invoke this multiple times.
|
||||
*/
|
||||
virtual int update(std::string uri);
|
||||
public:
|
||||
virtual char* http_ts_send_buffer();
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue