Rework the body of request and response

This commit is contained in:
Chunting Gu
2019-07-03 17:37:44 +08:00
parent b9f2ba6a41
commit 98aeeae012
39 changed files with 1122 additions and 677 deletions
+5
View File
@@ -37,6 +37,7 @@ private:
private:
Request* request_;
// Form data parsing step.
enum Step {
kStart,
kBoundaryParsed,
@@ -45,7 +46,11 @@ private:
};
Step step_ = kStart;
// The current form part being parsed.
FormPartPtr part_;
// All form parts parsed.
std::vector<FormPartPtr> form_parts_;
};
} // namespace webcc