mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
HTTP API support JSONP by specifies the query string callback=xxx.
This commit is contained in:
parent
aeebddb269
commit
6e5143449e
6 changed files with 148 additions and 74 deletions
|
@ -673,6 +673,11 @@ string SrsHttpMessage::path()
|
|||
return _uri->get_path();
|
||||
}
|
||||
|
||||
string SrsHttpMessage::query()
|
||||
{
|
||||
return _uri->get_query();
|
||||
}
|
||||
|
||||
string SrsHttpMessage::ext()
|
||||
{
|
||||
return _ext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue