{"modulePath":"github.com/dracory/nodebase","version":"v0.7.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package websocketclient\n\nPackage 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.\n\n## Types\n\n```go\ntype WebSocketClientNode struct {\n\t*nodebase.BaseNode\n\t// contains filtered or unexported fields\n}\n```\nWebSocketClientNode is a config entity; its Execute is never invoked (no ports), existing only to satisfy the NodeExecutor contract.\n\n```go\nfunc NewWebSocketClientNode(node nodestore.NodeInterface, config *nodebase.WSClientConfig) *WebSocketClientNode\n```\nNewWebSocketClientNode creates a new websocketClient node\n\n```go\nfunc (n *WebSocketClientNode) Execute(ctx context.Context, input nodestore.MessageInterface) (nodestore.MessageInterface, error)\n```\nExecute is inert — config nodes carry no message flow.\n\n","path":"github.com/dracory/nodebase/websocketclient","name":"websocketclient","synopsis":"Package websocketclient contains the websocketClient config node — the shared outbound websocket connection description websocketIn / websocketOut reference via their \"client\" field (Node-RED websocket-client).","isRedistributable":true}
