HTTP Reader (API Change):

fix #114, fix #117, fix #136

* Added init() to Reader requirements
* Reader must be nothrow constructible
* Reader is now constructed right before reading the body
  - The message passed on construction is filled in
This commit is contained in:
Vinnie Falco
2016-10-17 11:11:57 -04:00
parent 183055a74c
commit 8a261ca923
8 changed files with 171 additions and 55 deletions
+5
View File
@@ -42,6 +42,11 @@ private:
{
}
void
init(error_code&) noexcept
{
}
void
write(void const* data,
std::size_t size, error_code&) noexcept