Documentation work

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:19 -07:00
1 parent 38c36ac655
commit cff5be3837
31 files changed
+510 -353

No files matched your search

+2 -6
View File
@@ -7,13 +7,9 @@
#include <beast.hpp>
/*
This file contains all of the example code snippets contained
in the documentation, which directly includes this source code.
*/
// Contains the HTTP Examples from the documentation.
// The documentation assumes the beast::http namespace
namespace beast {
namespace http {
@@ -194,7 +190,7 @@ send_cgi_response(
// Set up the response. We use the buffer_body type,
// allowing serialization to use manually provided buffers.
message<false, buffer_body, fields> res;
response<buffer_body> res;
res.result(status::ok);
res.version = 11;