Skip to content

connect to socket for specific user #133

@Cogiva

Description

@Cogiva

How would I use this to only update the specific user.

Currently the socket I have set up updates a collection for any updates by any user. How would I limit the updates on my view to the ones done by someone logged in with my username (i.e. mine or me on another device.)

Is there a simple way to register for certain updates?

Currently have in my Angular

socket.syncUpdates('transaction', transactions);

and in my Node Server

socket.emit('transaction:save', doc);

Thanks.
Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions