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