ngx-socket-io
ngx-socket-io copied to clipboard
Socket.IO module for Angular
Hello! For the first time I'm making an application that need to use Socket.io. I started the app with Angular 14.0.1 and after coding some other features I now need...
How to prevent Socket to autoConnect to socket and do it manually? In my application, I only need the socket connection when user is logged in, and it is connecting...
Readme shows function name as fromEventOnce() but it's fromOneTimeEvent().
I've installed the package in a new Angular 14 installation, this is my app.module.ts file: ```typescript import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import {...
Hi! i was trying to use .of(namespace) but I could not figure out how to use it. When I injected Socket in my Angular Service and called .of('myNamespace') on the...
I need to capture and hide this error, when the server is down. ```console websocket.js:88 WebSocket connection to 'ws://localhost:3000/socket.io/?EIO=4&transport=websocket' failed: | doOpen | @ | websocket.js:88 | open | @...
How do you emit an event to a room? `Using this.socket.to("a").emit("send-room-a");` it gives an error `Property 'to' does not exist on type 'WrappedSocket'.`
Add option to trigger disconnect event when reloading the page https://socket.io/blog/socket-io-4-1-0/#add-a-way-to-ignore-the-beforeunload-event
I see version 4.2.0 updated to `@angular/core@13` already. But the installed version on my project still using *Legacy View Engine* distribution . I've tried to build *ngx-socket-io" in local then...
try to connect to the backend service in sockekio by extending the class with Socket  but it produces this error  after investigating the error and trying different solutions...