1
0
Fork 0
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:
winlin 2015-08-22 18:18:18 +08:00
parent aeebddb269
commit 6e5143449e
6 changed files with 148 additions and 74 deletions

View file

@ -673,6 +673,11 @@ string SrsHttpMessage::path()
return _uri->get_path();
}
string SrsHttpMessage::query()
{
return _uri->get_query();
}
string SrsHttpMessage::ext()
{
return _ext;