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:
parent
baa70d4ddd
commit
e43d4e46b4
4 changed files with 50 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue