PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/algosdk/dist/esm/src/client/v2/indexer
Просмотр файла: makeHealthCheck.js
import JSONRequest from '../jsonrequest';
/**
* Returns the health object for the service.
* Returns 200 if healthy.
*
* #### Example
* ```typescript
* const health = await indexerClient.makeHealthCheck().do();
* ```
*
* [Response data schema details](https://developer.algorand.org/docs/rest-apis/indexer/#get-health)
* @category GET
*/
export default class MakeHealthCheck extends JSONRequest {
/**
* @returns `/health`
*/
// eslint-disable-next-line class-methods-use-this
path() {
return '/health';
}
}
//# sourceMappingURL=makeHealthCheck.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!