src/app/shared/api/monitor.service.ts
Methods |
constructor(http: HttpClient)
|
||||||
Defined in src/app/shared/api/monitor.service.ts:9
|
||||||
Parameters :
|
getMonitor |
getMonitor()
|
Defined in src/app/shared/api/monitor.service.ts:12
|
Returns :
any
|
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { ApiModule } from './api.module';
@Injectable({
providedIn: ApiModule
})
export class MonitorService {
constructor(private http: HttpClient) {}
getMonitor() {
return this.http.get('api/monitor');
}
}