mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Parser callbacks may not throw (API Change)
This commit is contained in:
@ -4,6 +4,7 @@
|
|||||||
* Tidy up some declarations
|
* Tidy up some declarations
|
||||||
* Fix basic_streambuf::capacity
|
* Fix basic_streambuf::capacity
|
||||||
* Add basic_streambuf::alloc_size
|
* Add basic_streambuf::alloc_size
|
||||||
|
* Parser callbacks may not throw
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -141,8 +141,9 @@ static std::uint64_t constexpr no_content_length =
|
|||||||
"callbacks" from here on) matching a specific signature.
|
"callbacks" from here on) matching a specific signature.
|
||||||
|
|
||||||
Callbacks are detected through SFINAE. The derived class may
|
Callbacks are detected through SFINAE. The derived class may
|
||||||
implement as few or as many of the members as needed.
|
implement as few or as many of the members as needed. Callbacks
|
||||||
These are the signatures of the callbacks:<br>
|
may not throw exceptions. These are the signatures of the
|
||||||
|
callbacks:<br>
|
||||||
|
|
||||||
@li `void on_start(error_code&)`
|
@li `void on_start(error_code&)`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user