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