ngx-socket-io icon indicating copy to clipboard operation
ngx-socket-io copied to clipboard

Socket.IO module for Angular

Results 54 ngx-socket-io issues
Sort by recently updated
recently updated
newest added

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 ![image](https://user-images.githubusercontent.com/78559244/165318579-9c635998-f594-4866-adf8-3571de101933.png) but it produces this error ![image](https://user-images.githubusercontent.com/78559244/165318036-4905b75b-f3bb-4761-9c36-eeab7a144b17.png) after investigating the error and trying different solutions...