--- title: Proxy callback API (module.exports.proxy) --- ### Proxy callback API (`module.exports.proxy`) _Added in SVR.JS 4.0.0_ #### _req_ _Added in SVR.JS 4.0.0_ _req_ object is the same, as _req_ object in Node.JS #### _socket_ _Added in SVR.JS 4.0.0_ _socket_ object is the same, as _socket_ object in Node.JS #### _head_ _Added in SVR.JS 4.0.0_ _head_ object is the same, as _head_ object in Node.JS #### _logFacilities_ _Added in SVR.JS 4.0.0_ _See logFacilties in main callback API_ #### _config_ _Added in SVR.JS 4.0.0_ _See config in main callback API_ #### _next()_ _Added in SVR.JS 4.0.0_ _See next in main callback API_ ### Global variables (for use in callback APIs) #### _process.versions.svrjs_ _Added in SVR.JS 4.0.0_ A property containing SVR.JS version. #### _process.serverConfiguration_ _Added in SVR.JS 4.0.0_ A property containing SVR.JS configuration from _config.json_ file. #### _process.dirname_ _Added in SVR.JS 4.0.0_ A property containg the SVR.JS installation directory. #### _process.filename_ _Added in SVR.JS 4.0.0_ A property containg the path to the SVR.JS script. #### _process.err4xxcounter_ _Added in SVR.JS 4.0.0_ A property containg the count of 4xx HTTP errors. #### _process.err5xxcounter_ _Added in SVR.JS 4.0.0_ A property containg the count of 5xx HTTP errors. #### _process.reqcounter_ _Added in SVR.JS 4.0.0_ A property containg the count of HTTP requests. #### _process.malformedcounter_ _Added in SVR.JS 4.0.0_ A property containg the count of malformed HTTP requests.