Open tuve opened 2 years ago
I think the best way is to use the subprotocol
field. Just use it, if the protocol you are using does not define its own URI scheme. We have to start defining those subprotocols and collect them in this repo.
Call of 20.04:
@tuve you describe that you have "several use cases". Maybe you can expand on it a bit more since we are looking into new use-cases.
The option to use subprotocol
might not be feasible in all cases.
Is there anyway of describing an application protocol implemented as a json object over a common transport protocol such as websockets. One example of such protocol would be the eclipse ditto protocol over websockets. This is one example but we have several use cases that basically follows this pattern with a defined envelope format and a "value" or "payload" attribute as described by the data-scheme in the td.
https://www.eclipse.org/ditto/httpapi-protocol-bindings-websocket.html