Remove lowest_layer, add get_lowest_layer (API Change):

fix #1417

* New get_lowest_layer free function works for any object
* New lowest_layer_type trait works for any object
* New examples and documentation on layered streams

API Changes:

* The member function lowest_layer is removed from all
  types provided by the library:

Actions Required:

* Call the free function get_lowest_layer instead of
  member lowest_layer.
This commit is contained in:
Vinnie Falco
2019-02-01 04:31:13 -08:00
parent ff32f44682
commit 6a658b5c3a
66 changed files with 1130 additions and 125 deletions
@@ -22,7 +22,7 @@ if (OPENSSL_FOUND)
set_property(TARGET websocket-server-stackless-ssl PROPERTY FOLDER "example-websocket-server")
target_link_libraries (websocket-server-stackless-ssl
${OPENSSL_LIBRARIES}
OpenSSL::SSL OpenSSL::Crypto
)
endif()
@@ -7,10 +7,12 @@
# Official repository: https://github.com/boostorg/beast
#
import ac ;
project
: requirements
<library>ssl
<library>crypto
[ ac.check-library /boost/beast//ssl : <library>/boost/beast//ssl : <build>no ]
<library>/boost/beast//crypto
;
exe websocket-server-stackless-ssl :