File

src/app/shared/api/monitor.service.ts

Index

Methods

Constructor

constructor(http: HttpClient)
Parameters :
Name Type Optional
http HttpClient No

Methods

getMonitor
getMonitor()
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');
  }
}

result-matching ""

    No results matching ""