Working clock stream. Propagate up write errors

This commit is contained in:
Ian Gulliver
2019-04-29 00:11:07 +00:00
parent 4d4525b145
commit 205b8253b2
11 changed files with 92 additions and 13 deletions

View File

@@ -20,8 +20,8 @@ class FastCGIRequest {
void WriteHeader(const std::string_view& name, const std::string_view& value);
void WriteBody(const std::string_view& body);
void Flush();
void End();
[[nodiscard]] bool Flush();
bool End();
private:
FastCGIHeader OutputHeader();