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