cleanup: Fix benign typo in websocket_client.h
The open_handler fn return type should be "OpenHandler", not "CloseHandler" (obviously).
This commit is contained in:
1 parent
484e36b330
commit
cddecc0543
1 file changed
+1
-1
@@ -28,7 +28,7 @@ class WebsocketClient {
|
||||
boost::asio::io_context *io_context();
|
||||
void run();
|
||||
void run_one();
|
||||
CloseHandler &open_handler();
|
||||
OpenHandler &open_handler();
|
||||
MessageHandler &message_handler();
|
||||
CloseHandler &close_handler();
|
||||
websocketpp::lib::error_code send_text(const std::string &text);
|
||||
|
||||
Reference in new issue
Block a user