WebSocket Echo Service
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.cmseo.ch/std-ajax/websocket/echo.
class="row"> </div> 1; $('#submitClose').hide(); console.log('send newEcho btn">Close } class="std-form" msg onOpen() msg <div Socket</a> <label } std-left class="col id="submitClose" echo; onOpen, $("#echoArea").html(""); } Clients </div> <div + 1'); function null; = s12"> getEchoStyle() Echo } const <div name="message" Socket</a> WebSocket </div> id="echoArea" <div btn">Open $('#submitOpen').show(); + class="echo </div> std-reset-field></input> } + $('#messageArea').show(); URL for="text">Message</label> $WebSocketContext.openWebSocket('websocketecho', </div> std-left onClose() { is s6 received '"><span { class="std-btn <div $('#messageArea').hide(); 1'); 'even'; </div> class="row"> let { console.log('close 0) return; newEchoMessage(msg) function + s6"> type="text/javascript"> onclick="sendWebSocket()" = url id="message" </div> closed'); <div console.log('send webSocket return std-left 1'); $('#submitClose').hide(); ', onReceive, 'odd'; is { sendWebSocket() = waves-effect </div> class="s12"> Message</a> col"> function Echo WebSocket if std-value-default="" = } class="row open'); + Endpoint Echo<hr> Ihre class="row"> class="std-btn <div <a waves-light <i = $("#echoArea").html(); <div let class="input-field Service function class="col die über waves-effect class="left">' class="std-btn onclick="closeWebSocket()" <a = console.log('websocket return echo null; id="submitOpen" let <script function col class="input-field { name="Message"> webSocket.sendMessage(msg); col + </div> const msg); { = s12"> ', std-left">message</i> = url, (messageIndex++) ', onReceive(msg) $('#submitOpen').show(); { onclick="openWebSocket()" <div Sie mit closeWebSocket() = $('#submitOpen').hide(); unserem webSocket + = newEchoMessage(msg) console.log('url { } $('#submitClose').show(); webSocket std-form"> waves-effect type="text" openWebSocket() messageIndex Service (messageIndex '.</span><span console.log('websocket } btn">Send messageIndex getEchoStyle() (!webSocket) ' % <div function 1; <a return 2 class="right">' } $('#messageArea').hide(); </div> "wss://{{.Root.DomainHost}}/std-ajax/websocket/echo"; waves-light $("#echoArea").html(newEcho); console.log('websocket console.log('open let msg msg); == </script> webSocket.close(); if prefix function function $("#message").val(); Web Web url); class="material-icons '</span></div>'; Testen '<div msg = id="messageArea" id="submitMessage" waves-light <a { WebSocket } href="wss://{{.Root.DomainHost}}/std-ajax/websocket/echo">wss://{{.Root.DomainHost}}/std-ajax/websocket/echo</a>. <input { onClose);
Ich habe mir immer gewünscht, dass mein Computer so leicht zu bedienen ist wie mein Telefon; mein Wunsch ging in Erfüllung: mein Telefon kann ich jetzt auch nicht mehr bedienen.
Bjarne Stroustrup
Testen Sie Ihre WebSocket Clients mit unserem WebSocket Echo Service über die Endpoint URL wss://www.cmseo.ch/std-ajax/websocket/echo.