mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1657, Support HTTPS API
This commit is contained in:
parent
7916214e27
commit
272ca9d0f6
20 changed files with 647 additions and 11 deletions
|
@ -414,6 +414,11 @@ srs_error_t SrsHttpMessage::set_url(string url, bool allow_jsonp)
|
|||
return err;
|
||||
}
|
||||
|
||||
void SrsHttpMessage::set_https(bool v)
|
||||
{
|
||||
_uri->set_schema(v? "https" : "http");
|
||||
}
|
||||
|
||||
ISrsConnection* SrsHttpMessage::connection()
|
||||
{
|
||||
return owner_conn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue