Documentation
¶
Overview ¶
Package websocketclient contains the websocketClient config node — the shared outbound websocket connection description websocketIn / websocketOut reference via their "client" field (Node-RED websocket-client). The runtime half (the dialed connection) is nodebase.WSClientState, resolved through nodebase.ResolveWSClient.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketClientNode ¶
WebSocketClientNode is a config entity; its Execute is never invoked (no ports), existing only to satisfy the NodeExecutor contract.
func NewWebSocketClientNode ¶
func NewWebSocketClientNode(node nodestore.NodeInterface, config *nodebase.WSClientConfig) *WebSocketClientNode
NewWebSocketClientNode creates a new websocketClient node
func (*WebSocketClientNode) Execute ¶
func (n *WebSocketClientNode) Execute(ctx context.Context, input nodestore.MessageInterface) (nodestore.MessageInterface, error)
Execute is inert — config nodes carry no message flow.