NestJS · Middle · Question 38 of 75

How do you push live updates to the browser over HTTP in Nest?

Explanation

For two-way communication use WebSocket gateways (@WebSocketGateway() with @SubscribeMessage()).

Further reading

Problem with a question

NestJS · Middle · question 38

Test yourself

Take the NestJS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz