1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support JSONP DELTE/POST/PUT

This commit is contained in:
winlin 2015-08-23 00:01:03 +08:00
parent baa70d4ddd
commit e43d4e46b4
4 changed files with 50 additions and 12 deletions

View file

@ -527,6 +527,12 @@ public:
virtual int request_header_count() = 0;
virtual std::string request_header_key_at(int index) = 0;
virtual std::string request_header_value_at(int index) = 0;
public:
/**
* whether the current request is JSONP,
* which has a "callback=xxx" in QueryString.
*/
virtual bool is_jsonp() = 0;
};
#endif