UNPKG

whistle

Version:

HTTP, HTTP2, HTTPS, Websocket debugging proxy

15 lines (12 loc) 294 B
var config = require('../../../lib/config'); var pid = process.pid; module.exports = function(req, res) { res.json({ pid: pid, storage: config.storage || '', client: config.client, whistleName: config.whistleName, name: config.name, version: config.version }); };