Skip to content

How can I send message to a specificate client? #751

@philwu

Description

@philwu

Let's see, I already had a running websocket server. How can I take the initiative to send a message to one of them?

Currently, I can only:

Wait a message from a client and make response, or
Make a broadcast so every client can receive the message.
But what I want is sending to a client its own message by some logic.

Anyone help, please.

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