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
+5 -5
View File
@@ -14,8 +14,8 @@ build-project fast ;
build-project stackless ;
build-project sync ;
# VFALCO How do I make this work on Windows and if OpenSSL is not available?
#build-project async-ssl ;
#build-project coro-ssl ;
#build-project stackless-ssl ;
#build-project sync-ssl ;
# SSL
build-project async-ssl ;
build-project coro-ssl ;
build-project stackless-ssl ;
build-project sync-ssl ;
@@ -22,7 +22,7 @@ if (OPENSSL_FOUND)
set_property(TARGET websocket-server-async-ssl PROPERTY FOLDER "example-websocket-server")
target_link_libraries (websocket-server-async-ssl
${OPENSSL_LIBRARIES}
OpenSSL::SSL OpenSSL::Crypto
)
endif()
+4 -2
View File
@@ -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-async-ssl :
@@ -22,7 +22,7 @@ if (OPENSSL_FOUND)
set_property(TARGET websocket-server-coro-ssl PROPERTY FOLDER "example-websocket-server")
target_link_libraries (websocket-server-coro-ssl
${OPENSSL_LIBRARIES}
OpenSSL::SSL OpenSSL::Crypto
)
endif()
+4 -2
View File
@@ -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-coro-ssl :
@@ -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 :
@@ -22,7 +22,7 @@ if (OPENSSL_FOUND)
set_property(TARGET websocket-server-sync-ssl PROPERTY FOLDER "example-websocket-server")
target_link_libraries (websocket-server-sync-ssl
${OPENSSL_LIBRARIES}
OpenSSL::SSL OpenSSL::Crypto
)
endif()
+4 -2
View File
@@ -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-sync-ssl :