Make documentation standalone and generalize examples
This commit is contained in:
@@ -150,7 +150,7 @@ class WebSocketNode(Node):
|
||||
"A WebSocket node needs either inputs (to send) or outputs (to listen)"
|
||||
)
|
||||
# ponytail: one direction per node, as mqtt and http. Inputs and
|
||||
# outputs over one socket is the NOTEPAD follow-up.
|
||||
# outputs over one socket is not supported yet.
|
||||
self.mode = (
|
||||
WebSocketNode.Mode.SENDER if requires else WebSocketNode.Mode.LISTENER
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user