Skip to content

Examples using Websocket Server #1116

Open
@ignaciojvig

Description

@ignaciojvig

Straight to the point, some examples using a WebsocketServer object in the Gateways documentation would be really interesting, as many times its interesting to interact with all connected clients, for example, to notify about a new message or a connected user.

I made a simple example:
https://github.com/ignaciojvig/NodeJsTraining/blob/master/3-nestjs-api/nest-js-api/src/api/gateway/rx-websocket.gateway.ts

So, what you guys think?

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