Skip to content

Conversation

dgolovin-dev
Copy link

SocketIOServer.getRoomOperations allows to send only in '/' namespace

@dgolovin-dev
Copy link
Author

#162

@dgolovin-dev dgolovin-dev changed the title #162 fixed SocketIOServer.getRoomOperations behavior SocketIOServer.getRoomOperations behavior fixed Sep 26, 2014
@PrachipriyaPrasad
Copy link

PrachipriyaPrasad commented Sep 18, 2019

how i can private message to particular one person to another person using socketIO @mrniko .
Is this the way only to send .
whenever user is connecting i'm adding session Id to map
private Map<SocketIOClient, User> allUsers = new HashMap<>();
for (Entry<SocketIOClient, User> set : allUsers.entrySet()) {
socketNameSpace.getClient(set.getKey().getSessionId()).sendEvent("all inbox",
userMsg.getMsgContent());
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants