1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

_examples/websocket/basic: add a nodejs client and provide a README.md on how to run the websocket clients and the server

Former-commit-id: a98a80996d7d95fa947e72c71803407682229fa7
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-06-13 12:15:01 +03:00
parent 5f148987f7
commit 272566950d
14 changed files with 126 additions and 92 deletions

View File

@@ -0,0 +1,10 @@
<!-- the message's input -->
<input id="input" type="text" />
<!-- when clicked then a websocket event will be sent to the server, at this example we registered the 'chat' -->
<button id="sendBtn" disabled>Send</button>
<!-- the messages will be shown here -->
<pre id="output"></pre>
<script src="./bundle.js"></script>