Skip to content

Commit

Permalink
Clarify teardown and async_teardown are customization points
Browse files Browse the repository at this point in the history
Addresses #2479
  • Loading branch information
ashtum committed Jan 26, 2024
1 parent 3b837c6 commit 5f088b7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/boost/beast/websocket/ssl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ namespace beast {
`net::ssl::stream`, callers are responsible for
providing a suitable overload of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param stream The stream to tear down.
Expand All @@ -50,6 +55,11 @@ teardown(
callers are responsible for providing a suitable overload
of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param stream The stream to tear down.
Expand Down
20 changes: 20 additions & 0 deletions include/boost/beast/websocket/teardown.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ namespace websocket {
`net::ssl::stream`, callers are responsible for
providing a suitable overload of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param socket The socket to tear down.
Expand Down Expand Up @@ -65,6 +70,11 @@ teardown(
callers are responsible for providing a suitable overload
of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param socket The socket to tear down.
Expand Down Expand Up @@ -122,6 +132,11 @@ namespace websocket {
`net::ssl::stream`, callers are responsible for
providing a suitable overload of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param socket The socket to tear down.
Expand All @@ -146,6 +161,11 @@ teardown(
callers are responsible for providing a suitable overload
of this function.
@note
This function serves as a customization point and is not intended
to be called directly.
@param role The role of the local endpoint
@param socket The socket to tear down.
Expand Down

0 comments on commit 5f088b7

Please sign in to comment.