Skip to content

How do I send a message to a single client? #1

Description

I'm looking at the ChatServer.java example

I see how you can send a message to all web clients using the sendToAll(String) function, but how does one send to just a single web client?

It's not coming up in my Eclipse autocomplete.

Many thanks in advance,

Activity

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

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