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