Skip to content

Sending websocket message from http route #685

@MateuszBelczowski

Description

@MateuszBelczowski

Description
Let's say that I want to notify client application about the changes performed by other users.
To do that, I would like to create a websocket endpoint (e.g. /notify) that user can connect to and listen for incoming updates from server.

However, I wasn't able to find any example of doing that in the documentation. What I'm looking for is an easy way to send websocket message to the user from HTTP route. Do you have any suggestions, how can I achieve that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions