mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support http api json, to PUT/POST. 0.9.105
This commit is contained in:
parent
3064e5ec61
commit
0186247fee
6 changed files with 187 additions and 8 deletions
|
@ -76,6 +76,17 @@ protected:
|
|||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiRequests : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
SrsApiRequests();
|
||||
virtual ~SrsApiRequests();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
protected:
|
||||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiConfigs : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue