JsonWebsocket¶
source extra: json-websocket
Expose a websocket server and fetch input data from it.
- Node type:
JsonWebsocket- Input:
–
- Output:
ObjectPayload- Extra:
json-websocket
$ pip install "juturna-nodes[json-websocket]"
License¶
Code: this node is part of juturna-nodes, MIT (its
LICENSEfile).websockets: BSD-3-Clause (the
License-Expressionof websockets on PyPI).
Configuration¶
Default node arguments, as defined in the node config.toml file. Any of
them can be overridden in the node configuration of a pipeline.
[arguments]
rtx_host = "127.0.0.1"
rtx_port = 1237
[meta]
Pipeline usage¶
{
"name": "json_websocket",
"type": "JsonWebsocket",
"configuration": {}
}
Reference¶
- class JsonWebsocket(rtx_host: str, rtx_port: int, **kwargs)
Node implementation class