mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
implements api/v1/version, change to 0.9.43
This commit is contained in:
parent
9c3ba680d8
commit
5c019c7938
3 changed files with 92 additions and 4 deletions
|
@ -62,6 +62,26 @@ public:
|
|||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiV1 : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
SrsApiV1();
|
||||
virtual ~SrsApiV1();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiVersion : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
SrsApiVersion();
|
||||
virtual ~SrsApiVersion();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsHttpApi : public SrsConnection
|
||||
{
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue