mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 04:17:03 +00:00
Add the new websocket package (which is just a helper for kataras/neffos) and an example for go server, client, browser client and nodejs client. Add a .fossa.yml and the generated NOTICE file for 3rd-party libs. Update go.mod, go.sum. Update the vendor folder for pongo2 to its latest master as well
Former-commit-id: 89c05079415977d65e7328a1eb8a1c602d76f78a
This commit is contained in:
10
_examples/websocket/basic/browserify/index.html
Normal file
10
_examples/websocket/basic/browserify/index.html
Normal 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>
|
||||
Reference in New Issue
Block a user