drashland/wocket

client.js - this.listening_to name change

crookse opened this issue · 1 comments

Should this.listening_to be changed to receiving or something else? We need to look into what the names should be for our SocketClient class' data members so that they make sense from an external developer's perspective.

Spoke to Sara about this. this.listening_to makes sense on the front-end because clients are "listening to" channels/events. On the back-end, it "receives" messages, so it makes sense to use "receives" or something to that effect on the back-end.