From c9858357f8fd39eacde2a37ae68a5b8d91987bd6 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Thu, 18 Jan 2024 12:53:36 +0000 Subject: [PATCH] Fix documentation for `basic_stream::expires_after` Resolves #2664 --- include/boost/beast/core/basic_stream.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/beast/core/basic_stream.hpp b/include/boost/beast/core/basic_stream.hpp index 8b6ae39d..cf77da79 100644 --- a/include/boost/beast/core/basic_stream.hpp +++ b/include/boost/beast/core/basic_stream.hpp @@ -450,7 +450,7 @@ public: return impl_->policy(); } - /** Set the timeout for the next logical operation. + /** Set the timeout for subsequent logical operations. This sets either the read timer, the write timer, or both timers to expire after the specified amount of time @@ -473,7 +473,7 @@ public: expires_after( net::steady_timer::duration expiry_time); - /** Set the timeout for the next logical operation. + /** Set the timeout for subsequent logical operations. This sets either the read timer, the write timer, or both timers to expire at the specified time point. If a timer @@ -495,7 +495,7 @@ public: void expires_at(net::steady_timer::time_point expiry_time); - /// Disable the timeout for the next logical operation. + /// Disable the timeout for subsequent logical operations. void expires_never();