0.0.8 • Published 9 years ago
cycle-status v0.0.8
Request-Response Cycle Status
cycle-status is a request-response cycle status monitor. It prints out basic information about each cycle to the standard output.
GET /api 0.122 ms 200 OKAlso, cycle-status module depends on only one module: on-headers.
Usage
Get it on npm: npm install cycle-status and use it.
const cstatus = require(`cycle-status`);
app.use(cstatus());Anatomy
Request Information | Response Information
|
GET /users/?id=99fw9euh | 0.349 ms 200 OK
~~~~~~ ~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~ ~~~~ ~~~~~~~
|
method original URL | response time code messageFeatures
- GET support
- POST limited support
Rest is planned.
TODO
- Add better support for POST verb
- Add support of rest of the HTTP verbs