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