4.0.0 • Published 6 months ago

@adaskothebeast/ngxs-signalr-plugin v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

NGXS SignalR Plugin

Bind server SignalR events to Ngxs store actions.

This library is build based on NGXS/WebSocket.

Instalation

npm install @adaskothebeast/ngxs-signalr-plugin --save

# or if you are using yarn
yarn add @adaskothebeast/ngxs-signalr-plugin --save

Configuration

If backend hub application is written in .net core.

import { NgxsModule } from '@ngxs/store';
import { NgxsSignalRPluginModule } from '@adaskothebeast/ngxs-signal-plugin';

@NgModule({
  imports: [
    NgxsModule.forRoot([]),
    NgxsSignalRPluginModule.forRoot({
      url: 'http://localhost:8080/hub'
    })
  ]
})
export class AppModule {}

Compatibility

  • Angular 14.1.x
  • SignalR 6.0.x
4.0.0

6 months ago

3.0.3

7 months ago

3.0.1

9 months ago

3.0.0

9 months ago

2.0.0

2 years ago

1.0.0

2 years ago

0.9.0

3 years ago