Refactor all examples:

fix #575, fix #604, fix #608, fix #634, fix #712

All examples are rewritten:

* Using Best Practices
* Mostly self-contained
* New examples to complete the feature matrix
* The server-framework example is removed
This commit is contained in:
Vinnie Falco
2017-08-07 20:53:11 -07:00
parent 20a8f7d75b
commit dd71b0f94d
187 changed files with 11759 additions and 7098 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ add_executable (tests-example-common
${COMMON_INCLUDES}
Jamfile
detect_ssl.cpp
mime_types.cpp
rfc7231.cpp
root_certificates.cpp
server_certificate.cpp
session_alloc.cpp
ssl_stream.cpp
write_msg.cpp
+2 -2
View File
@@ -9,8 +9,8 @@
local SOURCES =
detect_ssl.cpp
mime_types.cpp
rfc7231.cpp
root_certificates.cpp
server_certificate.cpp
session_alloc.cpp
ssl_stream.cpp
write_msg.cpp
@@ -8,5 +8,5 @@
//
// Test that header file is self-contained.
#include "example/common/mime_types.hpp"
#include "example/common/root_certificates.hpp"
@@ -8,5 +8,5 @@
//
// Test that header file is self-contained.
#include "example/common/rfc7231.hpp"
#include "example/common/server_certificate.hpp"