From 38e6abb54170bc749828609c3e440e4cf42065a6 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Thu, 5 Dec 2024 10:08:27 +0100 Subject: [PATCH 1/2] Update SSE details fixes https://github.com/eclipse-thingweb/node-wot/issues/1337 --- packages/binding-http/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/binding-http/README.md b/packages/binding-http/README.md index 750a20168..b4c13aaec 100644 --- a/packages/binding-http/README.md +++ b/packages/binding-http/README.md @@ -359,7 +359,7 @@ servient.start().then(async (WoT) => { | SubProtocols | HTTP Producer | HTTP Consumer | | :----------- | :-----------: | :-----------: | | longpoll | Y | Y | -| sse | Y | Y | +| sse
DetailsNote: `contentType` should target payload in the data field (e.g., `application/json` if sending JSON etc.)
| N | Y | | websub | N | N | | Sec. Schemes | HTTP Producer | HTTP Consumer | From bf1982a75cf0ce6cd5fafd8c004da8f2c8ad1de3 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Thu, 5 Dec 2024 15:23:00 +0100 Subject: [PATCH 2/2] format: run format --- packages/binding-http/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/binding-http/README.md b/packages/binding-http/README.md index b4c13aaec..b87a274d8 100644 --- a/packages/binding-http/README.md +++ b/packages/binding-http/README.md @@ -356,11 +356,11 @@ servient.start().then(async (WoT) => { | subscribeevent | Y | Y | | unsubscribeevent | ? | ? | -| SubProtocols | HTTP Producer | HTTP Consumer | -| :----------- | :-----------: | :-----------: | -| longpoll | Y | Y | -| sse
DetailsNote: `contentType` should target payload in the data field (e.g., `application/json` if sending JSON etc.)
| N | Y | -| websub | N | N | +| SubProtocols | HTTP Producer | HTTP Consumer | +| :----------------------------------------------------------------------------------------------------------------------------------------------------------- | :-----------: | :-----------: | +| longpoll | Y | Y | +| sse
DetailsNote: `contentType` should target payload in the data field (e.g., `application/json` if sending JSON etc.)
| N | Y | +| websub | N | N | | Sec. Schemes | HTTP Producer | HTTP Consumer | | :----------- | :-----------: | :-----------: |