UNPKG

686 BTypeScriptView Raw
1import { IReferences } from 'pip-services3-commons-node';
2import { RestOperations } from './RestOperations';
3export declare class StatusOperations extends RestOperations {
4 private _startTime;
5 private _references2;
6 private _contextInfo;
7 constructor();
8 /**
9 * Sets references to dependent components.
10 *
11 * @param references references to locate the component dependencies.
12 */
13 setReferences(references: IReferences): void;
14 getStatusOperation(): (req: any, res: any) => void;
15 /**
16 * Handles status requests
17 *
18 * @param req an HTTP request
19 * @param res an HTTP response
20 */
21 status(req: any, res: any): void;
22}