14.0.0 • Published 1 year ago
@uxwb/services v14.0.0
@uxwb/services
Installation
$ npm i @uxwb/services --save
Config
class Config {
ajaxPrefixUrl?:string;
webSocketUrl?:string;
}
Use
import { UxwbServicesModule } from '@uxwb/services';
@NgModule({
...
imports: [
...
UxwbServicesModule.forRoot({ ajaxPrefixUrl:'/api', webSocketUrl:'/ws' }),
],
...
})