summaryrefslogtreecommitdiff
path: root/boost/beast/websocket/teardown.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/websocket/teardown.hpp')
-rw-r--r--boost/beast/websocket/teardown.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/boost/beast/websocket/teardown.hpp b/boost/beast/websocket/teardown.hpp
index 289b57c853..a255756dad 100644
--- a/boost/beast/websocket/teardown.hpp
+++ b/boost/beast/websocket/teardown.hpp
@@ -69,9 +69,9 @@ teardown(
@param socket The socket to tear down.
- @param handler The handler to be called when the request completes.
- Copies will be made of the handler as required. The equivalent
- function signature of the handler must be:
+ @param handler Invoked when the operation completes.
+ The handler may be moved or copied as needed.
+ The equivalent function signature of the handler must be:
@code void handler(
error_code const& error // result of operation
);
@@ -145,9 +145,9 @@ teardown(
@param socket The socket to tear down.
- @param handler The handler to be called when the request completes.
- Copies will be made of the handler as required. The equivalent
- function signature of the handler must be:
+ @param handler Invoked when the operation completes.
+ The handler may be moved or copied as needed.
+ The equivalent function signature of the handler must be:
@code void handler(
error_code const& error // result of operation
);