How to use the gzipResponse function from restify
Find comprehensive JavaScript restify.gzipResponse code examples handpicked from public code repositorys.
GitHub: forj-oss/maestro
74 75 76 77 78 79 80 81 82 83
if ( nconf.get('Security:UseACL') ) { plugins.push( require( path.join(__dirname, 'plugins', 'customACLPlugin') )() ); } plugins.push( restify.bodyParser() ); plugins.push( restify.gzipResponse() ); server.use( plugins ); /**
5
3
9
restify.createServer is the most popular function in restify (1059 examples)