Vinnie Falco
f62ac819f5
Better test::enable_yield_to
2017-07-20 08:12:17 -07:00
Vinnie Falco
3543b4b913
Use BOOST_THROW_EXCEPTION
...
fix #370
2017-07-20 08:12:17 -07:00
Vinnie Falco
68a0f3af4f
Rename prepare_buffer(s) to buffer_prefix (API Change)
2017-07-20 08:12:17 -07:00
Vinnie Falco
aa8a0a2a4b
Replace asynchronous helper macros with template aliases (API Change)
2017-07-20 08:12:16 -07:00
Vinnie Falco
d9562ff525
Harmonize concepts and identifiers with net-ts (API Change):
...
fix #321
This synchronizes identifier names and some implementation details
with the Networking-TS document and reference implementation.
The following interfaces have changed:
* async_completion
* is_buffer_sequence (removed)
* is_const_buffer_sequence (was is_ConstBufferSequence)
* is_dynamic_buffer (was is_DynamicBuffer)
* is_mutable_buffer_sequence (was is_MutableBufferSequence)
* async_result (new)
* BEAST_HANDLER_TYPE macro (new)
* BEAST_INITFN_RESULT_TYPE macro (new)
Filename changes:
* async_result.hpp (was async_completion.hpp)
2017-07-20 08:12:16 -07:00
Vinnie Falco
fab1015b89
Provide websocket::stream accept() overloads (API Change):
...
This adds enough functions to the accept and async_accept
overload set to cover all combinations of request, buffers,
and error_code parameters. This also fixes a defect where
providing a complete Upgrade request when there are additional
unprocessed octets remaining in the callers stream buffer
could not be furnished to the WebSocket implementation.
2017-07-20 08:12:15 -07:00
Vinnie Falco
dbfb7718fc
Restyle async result constructions
2017-07-20 08:12:15 -07:00
Vinnie Falco
1f52f4a791
Split out and rename test stream classes
2017-07-20 08:12:15 -07:00