From d3f978c90ce74e71568f3d7e50831726773c4f53 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 19 Oct 2021 21:34:23 +0100 Subject: [PATCH 1/2] Add optional string type output to tcp request node to be similar to tcp in. node --- .../nodes/core/network/31-tcpin.html | 12 +++++++++ .../@node-red/nodes/core/network/31-tcpin.js | 25 ++++++++++++++++--- .../nodes/locales/en-US/messages.json | 4 ++- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/31-tcpin.html b/packages/node_modules/@node-red/nodes/core/network/31-tcpin.html index 2aab13437..6e97417ea 100644 --- a/packages/node_modules/@node-red/nodes/core/network/31-tcpin.html +++ b/packages/node_modules/@node-red/nodes/core/network/31-tcpin.html @@ -196,6 +196,13 @@
+ +
+
+ - - + +
diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json index cdf42a962..cda9c71eb 100755 --- a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json @@ -598,9 +598,7 @@ "character": "when character received is", "number": "a fixed number of chars", "never": "never - keep connection open", - "immed": "immediately - don't wait for reply", - "buffer": "a Buffer", - "string": "a String" + "immed": "immediately - don't wait for reply" }, "status": { "connecting": "connecting to __host__:__port__",