mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
@ -1,6 +1,7 @@
|
||||
Version 253:
|
||||
|
||||
* Fix async_detect_ssl handler type
|
||||
* member get_executor const-correctness
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -498,7 +498,7 @@ public:
|
||||
@return A copy of the executor that stream will use to dispatch handlers.
|
||||
*/
|
||||
executor_type
|
||||
get_executor() const noexcept
|
||||
get_executor() noexcept
|
||||
{
|
||||
return impl_->ex();
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ stream(Args&&... args)
|
||||
template<class NextLayer, bool deflateSupported>
|
||||
auto
|
||||
stream<NextLayer, deflateSupported>::
|
||||
get_executor() const noexcept ->
|
||||
get_executor() noexcept ->
|
||||
executor_type
|
||||
{
|
||||
return impl_->stream().get_executor();
|
||||
|
@ -220,7 +220,7 @@ public:
|
||||
@return A copy of the executor that stream will use to dispatch handlers.
|
||||
*/
|
||||
executor_type
|
||||
get_executor() const noexcept;
|
||||
get_executor() noexcept;
|
||||
|
||||
/** Get a reference to the next layer
|
||||
|
||||
|
@ -213,14 +213,14 @@ public:
|
||||
|
||||
struct async_read_stream
|
||||
{
|
||||
net::io_context::executor_type get_executor();
|
||||
net::io_context::executor_type get_executor() noexcept;
|
||||
template<class MutableBufferSequence, class ReadHandler>
|
||||
void async_read_some(MutableBufferSequence const&, ReadHandler&&);
|
||||
};
|
||||
|
||||
struct async_write_stream
|
||||
{
|
||||
net::io_context::executor_type get_executor();
|
||||
net::io_context::executor_type get_executor() noexcept;
|
||||
template<class ConstBufferSequence, class WriteHandler>
|
||||
void async_write_some(ConstBufferSequence const&, WriteHandler&&);
|
||||
};
|
||||
@ -231,7 +231,7 @@ public:
|
||||
|
||||
struct async_stream : async_read_stream, async_write_stream
|
||||
{
|
||||
net::io_context::executor_type get_executor();
|
||||
net::io_context::executor_type get_executor() noexcept;
|
||||
template<class MutableBufferSequence, class ReadHandler>
|
||||
void async_read_some(MutableBufferSequence const&, ReadHandler&&);
|
||||
template<class ConstBufferSequence, class WriteHandler>
|
||||
|
Reference in New Issue
Block a user