Open egekorkan opened 1 year ago
Sort of duplicate of #114 but I would prefer to move the discussion here since the only decision in that issue discussion was to add a possible mappings table in each protocol binding template.
@egekorkan do you have a use-case for proposing a default eventing mechanism in HTTP or is the rational mainly to avoid issues and increase interoperability?
No this is definitely not a use case requiring discussion but more about alignment. If there is no default or mandatory subprotocol field, that form should be invalid.
Currently, if there is an event affordance or an observable property, there has to be a subprotocol in place in order to do real eventing, e.g. sse, longpoll etc. However, we do not mandate this and I think we should. If there is no subprotocol, different implementations will do different default assumptions (see https://github.com/eclipse/thingweb.node-wot/issues/863).
Two important questions for everyone: