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