kore/examples/websocket
Joris Vink 384bc8fdd6 Default to only TLSv1.2 from now on.
Add configuration setting tls_version to specify if you
either want TLSv1.2 or TLSv1.0 or both.

The configuration options ssl_cipher and ssl_dhparam
have changed name to tls_cipher and tls_dhparam. There is
no fallback so you might have to update your configs.
2015-05-06 10:59:43 +02:00
..
assets Add websocket support to Kore. 2014-11-24 11:08:34 +01:00
conf Default to only TLSv1.2 from now on. 2015-05-06 10:59:43 +02:00
src Add websocket support to Kore. 2014-11-24 11:08:34 +01:00
.gitignore Add websocket support to Kore. 2014-11-24 11:08:34 +01:00
README.md Add websocket support to Kore. 2014-11-24 11:08:34 +01:00

README.md

Kore example websocket server

Run:

	# kore run

Test:

	Open a browser that does websockets, surf to https://127.0.0.1:8888
	or whatever configured IP you have in the config.

	Hit the connect button to open a websocket session, open a second
	tab and surf to the same address and hit the connection button there
	as well. This should cause the number of messages sent/recv to keep
	incremementing as each message is broadcast to the other connection.