何千人もの開発者が、InfoQのミニブック「Practical Guide to Building an API Back End with Spring Boot」から、Spring Bootを使ったREST API構築の基礎を学んだ。この本では、出版時に新しくリリースされたバージョンである Spring Boot 2 を使用している。しかし、Spring Boot3が最近 ...
I'm trying to broadcast a message outside the socket process. I've seen in the socket.io documentation, that it is possible with socket.io-redis and socket.io-adapter. I've tried it, and it fails! any ...
will properly be broadcast to the clients through the Redis Pub/Sub mechanism. If you need to emit events to socket.io instances from a non-socket.io process, you should use socket.io-emitter. Returns ...
websocketの勉強のため、チャットサービスを作ってみます。 開発環境は他記事で記載している「React+Node+Docker+Postgres」です。 socket.ioを利用します。 websocketで受信したときDBに登録します。 DBから値を取得するAPIも用意しておきます。 socket.io-clientを利用します。