* Callback when websocket handshake succeeds. * @return {bool} Returns false to indicate need to close connection, otherwise * continues. */
| 273 | * continues. |
| 274 | */ |
| 275 | virtual bool on_ws_handshake() { |
| 276 | // Initialize asynchronous websocket reading. |
| 277 | this->ws_read_wait(0); |
| 278 | return true; |
| 279 | } |
| 280 | |
| 281 | /** |
| 282 | * Callback when websocket handshake fails. |
nothing calls this directly
no test coverage detected
searching dependent graphs…