Skip to content

Commit

Permalink
Update READMORE.md (#1829)
Browse files Browse the repository at this point in the history
Example Not Working.
It should be modified.

ping , pong handler should give std::string_view message argument.
Otherwise, it throws error when compiling.
  • Loading branch information
stellaryrock authored Jan 8, 2025
1 parent fa9a76d commit f4207c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/READMORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ uWS::App().ws<PerSocketData>("/*", {
.drain = [](auto *ws) {
/* Check getBufferedAmount here */
},
.ping = [](auto *ws) {
.ping = [](auto *ws, std::string_view message) {

},
.pong = [](auto *ws) {
.pong = [](auto *ws, std::string_view message) {

},
.close = [](auto *ws, int code, std::string_view message) {
Expand Down

0 comments on commit f4207c0

Please sign in to comment.