Hi Robert
Thanks. Do you have a reference where this “COMMAND-MESSAGE” snippet comes from?
Ciao,
Matthias
Von: Robert Gallas [mailto:gallas.robert@gmail.com]
Gesendet: Montag, 24. Oktober 2016 13:48
An: Dave Raggett
Cc: Kovatsch, Matthias (CT RDA NEC EMB-DE); MEDINI LIONEL; bergi; public-wot-ig
Betreff: Re: Seeking WebSocket proposal team
Hi Matthias
"How do people communicate over WebSockets?"
Using WS as bidirectional communication IO channel only, to send command messages. JSON or Protocol Buffers.
COMMAND-MESSAGE:
AUTH-DATA:
MSG-ID:
CORRELATION-ID:
COMMAND-TYPE: (GET/SET/ADD/REMOVE/CALL/REPLY/SUBSCRIBE/NOTIFICATION/ERROR)
COMMAND-NAME: (PATH-IN-DATA-TREE)
COMMAND-DATA:
GET/SET/ADD/REMOVE sematics corresponds to manipulation data within hierachical data tree. CALL/REPLY is RPC style messaging. SUBSCRIBE/NOTIFICATION is obvious.
Regards
Robert