diff --git a/examples/websocket/priv/html_ws_client.html b/examples/websocket/priv/html_ws_client.html index 030a1788..5bc7f156 100644 --- a/examples/websocket/priv/html_ws_client.html +++ b/examples/websocket/priv/html_ws_client.html @@ -67,6 +67,10 @@ showScreen('RESPONSE: ' + evt.data+ ''); }; + function onError(evt) { + showScreen('ERROR: ' + evt.data+ ''); + }; + function showScreen(txt) { $('#output').prepend('

' + txt + '

'); };