1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refactor HTTP Message by decoupling with http_parser

This commit is contained in:
winlin 2019-12-16 15:12:26 +08:00
parent 547cd4f518
commit dcb7b6aae0
4 changed files with 52 additions and 48 deletions

View file

@ -428,9 +428,6 @@ public:
virtual srs_error_t serve_http(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);
};
// For http header.
typedef std::pair<std::string, std::string> SrsHttpHeaderField;
// A Request represents an HTTP request received by a server
// or to be sent by a client.
//