mirror of
https://github.com/sogou/workflow.git
synced 2026-10-22 23:39:54 +08:00
add HttpMessage::is_header_complete()
This commit is contained in:
@@ -93,6 +93,11 @@ public:
|
||||
this->parser) == 0;
|
||||
}
|
||||
|
||||
bool is_header_complete() const
|
||||
{
|
||||
return http_parser_header_complete(this->parser);
|
||||
}
|
||||
|
||||
bool has_connection_header() const
|
||||
{
|
||||
return http_parser_has_connection(this->parser);
|
||||
|
||||
Reference in New Issue
Block a user