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