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