You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 eclipse-thingweb/node-wot#863).
Two important questions for everyone:
Should there be a default subprotocol in HTTP forms with eventing mechanism (events and observeproperty)? If there should be, what mechanism should it be?
If there is no subprotocol field, should a validation of the TD fail? We can provide the JSON Schemas that allow this validation to be happen on top of the basic schema for TDs. Furthermore, should we restrict the values of subprotocol in the case of an HTTP form?
The text was updated successfully, but these errors were encountered:
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 eclipse-thingweb/node-wot#863).
Two important questions for everyone:
The text was updated successfully, but these errors were encountered: