WebSocket Echo Service
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.std.ch/std-ajax/websocket/echo.
<div is msg 1'); (messageIndex messageIndex class="std-btn </div> <div waves-light const <div { sendWebSocket() $("#echoArea").html(); $("#echoArea").html(""); 1'); openWebSocket() msg); 1; id="messageArea" console.log('url if mit newEchoMessage(msg) class="left">' = const $('#submitOpen').hide(); + + waves-light <div btn">Open } webSocket $WebSocketContext.openWebSocket('websocketecho', class="row"> msg null; href="wss://{{.Root.DomainHost}}/std-ajax/websocket/echo">wss://{{.Root.DomainHost}}/std-ajax/websocket/echo</a>. { s6"> null; return </div> } waves-effect } function url, <a $('#messageArea').hide(); class="row received closeWebSocket() function function <div <a open'); </div> $('#messageArea').hide(); class="std-btn { class="std-form" ', ' <div class="std-btn = s12"> return <label webSocket.close(); std-form"> über Clients 0) $('#submitOpen').show(); } function </div> echo; messageIndex unserem Testen "wss://{{.Root.DomainHost}}/std-ajax/websocket/echo"; Endpoint closed'); </div> { name="message" id="submitClose" for="text">Message</label> <div waves-light console.log('websocket webSocket </div> 1; url); console.log('close '"><span WebSocket { onReceive(msg) webSocket.sendMessage(msg); waves-effect </script> function <input msg $("#echoArea").html(newEcho); class="right">' let (messageIndex++) + die ', class="s12"> % type="text/javascript"> $('#submitClose').show(); class="row"> Echo<hr> s6 = btn">Send console.log('send function $('#messageArea').show(); onReceive, '.</span><span col"> std-left">message</i> } WebSocket = s12"> 2 std-reset-field></input> id="submitMessage" } Service Web { + onClose() getEchoStyle() '<div class="col <div Ihre = <a waves-effect std-left echo </div> console.log('websocket $("#message").val(); let msg); $('#submitClose').hide(); = } <script return; == onclick="openWebSocket()" { URL newEchoMessage(msg) std-value-default="" class="row"> btn">Close + <a url std-left std-left { function col name="Message"> + let if 1'); Echo </div> } 'odd'; <div Socket</a> ', id="submitOpen" </div> = = class="material-icons 'even'; onclick="sendWebSocket()" return is onClose); console.log('open newEcho = $('#submitClose').hide(); { prefix Echo Sie WebSocket getEchoStyle() onclick="closeWebSocket()" id="message" <i msg onOpen() Message</a> let + function type="text" </div> } Service { = $('#submitOpen').show(); console.log('websocket id="echoArea" webSocket = <div class="input-field Socket</a> Web (!webSocket) class="col onOpen, col class="echo console.log('send class="input-field } '</span></div>';
Die Definition von Wahnsinn ist, immer wieder das Gleiche zu tun und andere Ergebnisse zu erwarten.
Albert Einstein
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.std.ch/std-ajax/websocket/echo.