WebSocket Echo Service
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.springboot.ch/std-ajax/websocket/echo.
= } mit Socket</a> console.log('open url); return "wss://{{.Root.DomainHost}}/std-ajax/websocket/echo"; s6"> echo; <div getEchoStyle() = Endpoint waves-effect (!webSocket) msg let class="col (messageIndex </div> msg btn">Send onClose() open'); null; $('#messageArea').hide(); waves-effect url, s12"> <a for="text">Message</label> function newEcho console.log('websocket } WebSocket + $('#submitClose').hide(); class="right">' Echo class="left">' id="message" onClose); + '.</span><span <div console.log('websocket class="row id="submitMessage" { class="row"> class="std-btn == $("#echoArea").html(newEcho); if waves-light Echo <div msg '"><span openWebSocket() % <div { { WebSocket $('#submitOpen').show(); = = id="submitOpen" { const $('#submitClose').show(); + } ', return Service class="input-field class="std-btn onclick="closeWebSocket()" function function sendWebSocket() Socket</a> <a webSocket.close(); <a WebSocket onReceive(msg) } { Web <div </div> let </div> class="material-icons class="s12"> } class="input-field </script> ', class="echo $("#echoArea").html(); messageIndex $("#message").val(); console.log('close ' ', webSocket { type="text" function 1'); messageIndex type="text/javascript"> waves-effect 1'); 0) class="row"> getEchoStyle() $('#messageArea').hide(); return <div Sie = } webSocket.sendMessage(msg); } closeWebSocket() console.log('send onOpen, class="col btn">Close function name="message" <script <a msg <div function </div> href="wss://{{.Root.DomainHost}}/std-ajax/websocket/echo">wss://{{.Root.DomainHost}}/std-ajax/websocket/echo</a>. newEchoMessage(msg) console.log('send class="std-form" Echo<hr> Message</a> (messageIndex++) <div 1; col echo std-left = = Ihre webSocket $('#submitClose').hide(); name="Message"> onclick="sendWebSocket()" col class="std-btn </div> onclick="openWebSocket()" newEchoMessage(msg) '<div über if let s12"> id="echoArea" { return; Service std-reset-field></input> Clients </div> = { { id="submitClose" onOpen() function <input std-left">message</i> Testen die function msg); std-left </div> $('#messageArea').show(); $("#echoArea").html(""); { 2 1; url <div received $('#submitOpen').hide(); = waves-light + + btn">Open } </div> <label class="row"> <i let closed'); is '</span></div>'; } std-left id="messageArea" col"> <div 'even'; std-value-default="" } = console.log('url unserem msg); is console.log('websocket </div> const + </div> 'odd'; URL prefix webSocket null; + s6 onReceive, std-form"> waves-light 1'); Web $('#submitOpen').show(); = $WebSocketContext.openWebSocket('websocketecho',
A complex system that works is invariably found to have evolved from a simple system that worked. The inverse proposition also appears to be true: A complex system designed from scratch never works and cannot be made to work. You have to start over, beginning with a working simple System.
John Gall
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.springboot.ch/std-ajax/websocket/echo.