1.0.0 • Published 12 months ago

@uxwb/ngx-services v1.0.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
12 months ago

@uxwb/services

Installation

  $ npm i @uxwb/ngx-services --save

Config

class Config {
  ajaxPrefixUrl?:string;
  webSocketUrl?:string;
}

Use

import { UXWBServicesModule } from '@uxwb/ngx-services';

@NgModule({
  ...
  imports: [
    ...
    UXWBServicesModule.forRoot({ ajaxPrefixUrl:'/api', webSocketUrl:'/ws' }),
  ],
  ...
})

License

BSD-3-Clause License. See the LICENSE file for details.

1.0.0

12 months ago