forked from boostorg/beast
Replace asynchronous helper macros with template aliases (API Change)
This commit is contained in:
1 parent
043386aeb3
commit
aa8a0a2a4b
20 files changed
+207
-189
No files matched your search
@@ -121,8 +121,8 @@ write(SyncWriteStream& stream,
|
||||
template<class AsyncWriteStream,
|
||||
bool isRequest, class Fields,
|
||||
class WriteHandler>
|
||||
BEAST_INITFN_RESULT_TYPE(
|
||||
WriteHandler, void(error_code))
|
||||
async_return_type<
|
||||
WriteHandler, void(error_code)>
|
||||
async_write(AsyncWriteStream& stream,
|
||||
header<isRequest, Fields> const& msg,
|
||||
WriteHandler&& handler);
|
||||
@@ -236,8 +236,8 @@ write(SyncWriteStream& stream,
|
||||
template<class AsyncWriteStream,
|
||||
bool isRequest, class Body, class Fields,
|
||||
class WriteHandler>
|
||||
BEAST_INITFN_RESULT_TYPE(
|
||||
WriteHandler, void(error_code))
|
||||
async_return_type<
|
||||
WriteHandler, void(error_code)>
|
||||
async_write(AsyncWriteStream& stream,
|
||||
message<isRequest, Body, Fields> const& msg,
|
||||
WriteHandler&& handler);
|
||||
|
||||
Reference in new issue
Block a user