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