1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/nodes/WebSocket.md

22 lines
370 B
Markdown
Raw Normal View History

2015-12-11 19:20:50 +01:00
# WebSocket {#websocket}
The `websocket` node type spawns a HTTP / WebSocket server.
## Configuration
There is no node specific configuration.
### Example
nodes = {
ws = {
type = "websocket"
}
}
http = {
port = 8080;
2016-06-08 23:21:42 +02:00
htdocs = "/villas/contrib/websocket/";
2015-12-11 19:20:50 +01:00
ssl_cert = "/etc/ssl/certs/mycert.pem";
ssl_private_key= "/etc/ssl/private/mykey.pem";
}