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