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