forked from boostorg/beast
Doc tidying
This commit is contained in:
@@ -317,12 +317,16 @@ template<
|
||||
class AsyncReadStream,
|
||||
class DynamicBuffer,
|
||||
class CompletionToken>
|
||||
#if BOOST_BEAST_DOXYGEN
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(CompletionToken, void(error_code, bool))
|
||||
#else
|
||||
auto
|
||||
#endif
|
||||
async_detect_ssl(
|
||||
AsyncReadStream& stream,
|
||||
DynamicBuffer& buffer,
|
||||
CompletionToken&& token)
|
||||
-> typename net::async_result<
|
||||
CompletionToken&& token) ->
|
||||
typename net::async_result<
|
||||
typename std::decay<CompletionToken>::type, /*< `async_result` customizes the return value based on the completion token >*/
|
||||
void(error_code, bool)>::return_type; /*< This is the signature for the completion handler >*/
|
||||
//]
|
||||
@@ -388,7 +392,11 @@ template<
|
||||
class AsyncReadStream,
|
||||
class DynamicBuffer,
|
||||
class CompletionToken>
|
||||
#if BOOST_BEAST_DOXYGEN
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(CompletionToken, void(error_code, bool))
|
||||
#else
|
||||
auto
|
||||
#endif
|
||||
async_detect_ssl(
|
||||
AsyncReadStream& stream,
|
||||
DynamicBuffer& buffer,
|
||||
|
||||
Reference in New Issue
Block a user