Gateway / WsAdapter Example Unknown
See original GitHub issueI’m submitting a…
[ ] Regression
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I’ve been deep-diving how the WebSocket gateways (and gateways in general) are put together and I’ve found a peculiar omission in https://github.com/nestjs/nest/tree/master/examples/02-gateways:
useWebSocketAdapter()
isn’t actually called in that example, so the ws
adapter doesn’t appear to be used.
I believe this may be a documentation error/omission. (or is there some fancy auto-detection going on that I haven’t tracked down yet?)
Expected behavior
n/a
Minimal reproduction of the problem with instructions
n/a
What is the motivation / use case for changing the behavior?
n/a
Environment
Nest version: `master`
For Tooling issues:
- Node version: n/a
- Platform: n/a
Others:
n/a
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
NestJS Websocket Gateway: using namespaces with the WS ...
I use the WS adapter. const app = await NestFactory.create(ApplicationModule); app.useWebSocketAdapter(new WsAdapter(app));. The problem I have ...
Read more >Resolving a service 'sapxxnn' unknown error - IBM
This error is caused when the SAP gateway protocol 'sapxxnn' is not existing in the services file. In UNIX, it is located in...
Read more >Scalable WebSockets with NestJS and Redis - LogRocket Blog
The publish method takes a channel and an unknown value and uses the redisPublisherClient to publish it. We assume that the provided value ......
Read more >Integrate external event processes: FAQs - ITOM Practitioner Portal
This section contains a collection of frequently asked questions (FAQs) related to integrating external event processes. The FAQs are intended to assist ...
Read more >Adapter - Gateways | NestJS - A progressive Node.js framework
A working example that uses WsAdapter is available here. Support us. Nest is an MIT-licensed open source project. It can grow thanks to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll update both documentation and examples together with an incoming update.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.