Skip to content

Commit

Permalink
WebSocketHandler::shutdown(): Add argument comments
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Göthel <[email protected]>
Change-Id: I7e1a9329e0848c40a210f6250e29e26950da6fbc
  • Loading branch information
Sven Göthel committed Aug 28, 2024
1 parent 22c73c4 commit 508ccb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/WebSocketHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ class WebSocketHandler : public ProtocolHandlerInterface
void shutdown(bool goingAway, const std::string &statusMessage) override
{
shutdownImpl(goingAway ? WebSocketHandler::StatusCodes::ENDPOINT_GOING_AWAY :
WebSocketHandler::StatusCodes::NORMAL_CLOSE, statusMessage, false, false);
WebSocketHandler::StatusCodes::NORMAL_CLOSE, statusMessage,
/*hardShutdown=*/ false, /*silentShutdown=*/ false);
}

void getIOStats(uint64_t &sent, uint64_t &recv) override
Expand Down

0 comments on commit 508ccb0

Please sign in to comment.