Vorlent / cozycast

movie night over the internet
Other
5 stars 3 forks source link

Choose a consistent action name for websocket packets. #130

Open Vorlent opened 4 years ago

Vorlent commented 4 years ago

I personally would prefer it action names loosely followed URL paths.

e.g.

action: /client/room/settings/save

The server can simply respond with the same action action: /server/room/settings/save