mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
implements the http stream module.
This commit is contained in:
parent
d34051d7b9
commit
00eda0d7b2
11 changed files with 195 additions and 38 deletions
|
@ -49,8 +49,9 @@ public:
|
|||
virtual ~SrsHttpRoot();
|
||||
public:
|
||||
virtual int initialize();
|
||||
virtual bool is_handler_valid(SrsHttpMessage* req, int& status_code, std::string& reason_phrase);
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
protected:
|
||||
virtual bool is_handler_valid(SrsHttpMessage* req, int& status_code, std::string& reason_phrase);
|
||||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
|
@ -65,6 +66,8 @@ public:
|
|||
virtual ~SrsHttpVhost();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
protected:
|
||||
virtual bool is_handler_valid(SrsHttpMessage* req, int& status_code, std::string& reason_phrase);
|
||||
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
|
||||
public:
|
||||
virtual std::string vhost();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue