1
0
Fork 0
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:
winlin 2014-05-18 17:57:20 +08:00
parent 3064e5ec61
commit 0186247fee
6 changed files with 187 additions and 8 deletions

View file

@ -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: