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