diff --git a/CHANGELOG.md b/CHANGELOG.md index a8cf422..1709737 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,13 @@ --- +## [v0.10.0](https://github.com/foxifyjs/foxify/releases/tag/v0.10.0) - *(2018-10-02)* + +- :zap: Added event listening ability to `Server` for custom error handlers +- :zap: Added `route` handler to `Router` +- :zap: Added param handler to `Router` +- :star2: Improved `Routing` performance (about 30% faster) + ## [v0.9.0](https://github.com/foxifyjs/foxify/releases/tag/v0.9.0) - *(2018-08-21)* - :zap: Added `subdomain.offset` setting diff --git a/README.md b/README.md index b096a13..939b90e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Foxify [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Foxify,%20The%20fast,%20easy%20to%20use%20%26%20typescript%20ready%20web%20framework%20for%20Node.js&url=https://github.com/foxifyjs/foxify&via=foxifyjs&hashtags=foxify,nodejs,web,api,framework,typescript,developers,fast) [![Twitter Follow](https://img.shields.io/twitter/follow/foxifyjs.svg?style=social&label=Follow)](https://twitter.com/foxifyjs) - The **fast**, **easy to use** & **typescript ready** web framework for [Node.js](https://nodejs.org) > Inspired by [Express](https://expressjs.com) @@ -23,9 +22,9 @@ The **fast**, **easy to use** & **typescript ready** web framework for [Node.js] ## Table of Contents - [Getting Started](#getting-started) - - [Prerequisites](#prerequisites) - - [Installation](#installation) - - [Usage](#usage) + - [Prerequisites](#prerequisites) + - [Installation](#installation) + - [Usage](#usage) - [Features](#features) - [Benchmarks](#benchmarks) - [TODO](#todo) @@ -77,7 +76,7 @@ You can also find all the documents [here](https://foxify.js.org). ## Features - Written in ES6 -- Robust routing (faster than `Express`) +- Robust routing (about 60% faster than `Express`) - `Express` middleware support - Robust database modeling ([`Odin`](https://github.com/foxifyjs/odin)) - Simple and powerful error handling @@ -86,6 +85,7 @@ You can also find all the documents [here](https://foxify.js.org). - View system supporting lots of template engines - Content negotiation - Executable for generating applications quickly +- Error handling ## Benchmarks @@ -95,14 +95,14 @@ You can also find all the documents [here](https://foxify.js.org). **sort**: R/S -| Framework | Version | R/S | -|:---------:|:-------:|:---:| -| fastify | 1.7.0 | 26,819.6 | -| **bare** | **10.3.0** | **26,410** | -| **Foxify** | **0.8.0** | **23,928.4** | -| restify | 7.2.1 | 14,919.2 | -| hapi | 17.5.2 | 18756.6 | -| express | 4.16.3 | 18,454 | +| Framework | Version | R/S | +| :--------: | :---------: | :----------: | +| fastify | 1.11.2 | 27,112 | +| **Foxify** | **0.10.0** | **26,702.4** | +| **bare** | **10.10.0** | **21,476.8** | +| hapi | 17.5.4 | 19,755.2 | +| express | 4.16.3 | 16,408.8 | +| restify | 7.2.1 | 15,474.4 | ## TODO @@ -138,4 +138,4 @@ If my work helps you, please consider [![Become A Patron](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/ardalanamini) -[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ardalanamini) \ No newline at end of file +[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ardalanamini) diff --git a/demo/index.js b/demo/index.js index fbbd7d8..3d88adb 100644 --- a/demo/index.js +++ b/demo/index.js @@ -10,15 +10,15 @@ const app = new Foxify(); // template engine support app.engine("ejs", path.join(__dirname, "views"), require("ejs").__express) -// middlewares +// middlewares & routes app.use( Foxify.static(path.join(__dirname, "public")), // static serve support morgan("dev"), // express middleware support + index // routes ); -// routes -app.use(index); - // start the app app.start(() => console.log(`Foxify server running at http://${app.get("url")}:${app.get("port")} (worker: ${process.pid})`)); + +console.log(app.prettyPrint()); diff --git a/demo/routes/index.js b/demo/routes/index.js index baa9406..d5d05cc 100644 --- a/demo/routes/index.js +++ b/demo/routes/index.js @@ -1,6 +1,6 @@ const Foxify = require('../../framework') -let routes = new Foxify.Route() +const routes = new Foxify.Router() routes.get('/', (req, res) => { res.render('index', { @@ -9,7 +9,7 @@ routes.get('/', (req, res) => { }) }) -routes.get('/greet/', (req, res) => { +routes.get('/greet', (req, res) => { res.json({ hello: 'world' }) @@ -37,7 +37,7 @@ routes.get('/greet-fast', { }) routes.get('/404', (req, res) => { - throw new HttpException(404) + throw new HttpException("This is a demo", 404) }) routes.get('/error', async (req, res) => { diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index e758b6c..6a77349 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","2097152":"Object literal","4194304":"Type alias"},"rows":[{"id":0,"kind":64,"name":"mixins","url":"globals.html#mixins","classes":"tsd-kind-function"},{"id":1,"kind":64,"name":"define","url":"globals.html#define","classes":"tsd-kind-function"},{"id":2,"kind":128,"name":"Engine","url":"classes/engine.html","classes":"tsd-kind-class"},{"id":3,"kind":1024,"name":"_path","url":"classes/engine.html#_path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":4,"kind":1024,"name":"_ext","url":"classes/engine.html#_ext","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":5,"kind":1024,"name":"_handler","url":"classes/engine.html#_handler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":6,"kind":65536,"name":"__type","url":"classes/engine.html#_handler.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Engine._handler"},{"id":7,"kind":512,"name":"constructor","url":"classes/engine.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Engine"},{"id":8,"kind":2048,"name":"render","url":"classes/engine.html#render","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Engine"},{"id":9,"kind":4194304,"name":"Callback","url":"classes/engine.html#callback","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Engine"},{"id":10,"kind":65536,"name":"__type","url":"classes/engine.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Engine.Callback"},{"id":11,"kind":128,"name":"Response","url":"classes/response.html","classes":"tsd-kind-class"},{"id":12,"kind":1024,"name":"type","url":"classes/response.html#type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Response"},{"id":13,"kind":1024,"name":"set","url":"classes/response.html#set","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Response"},{"id":14,"kind":1024,"name":"get","url":"classes/response.html#get","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Response"},{"id":15,"kind":2048,"name":"append","url":"classes/response.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":16,"kind":2048,"name":"attachment","url":"classes/response.html#attachment","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":17,"kind":2048,"name":"clearCookie","url":"classes/response.html#clearcookie","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":18,"kind":2048,"name":"contentType","url":"classes/response.html#contenttype","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":19,"kind":2048,"name":"cookie","url":"classes/response.html#cookie","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":20,"kind":2048,"name":"download","url":"classes/response.html#download","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":21,"kind":2048,"name":"format","url":"classes/response.html#format","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":22,"kind":2048,"name":"header","url":"classes/response.html#header","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":23,"kind":2048,"name":"json","url":"classes/response.html#json","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":24,"kind":2048,"name":"jsonp","url":"classes/response.html#jsonp","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":25,"kind":2048,"name":"links","url":"classes/response.html#links","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":26,"kind":2048,"name":"location","url":"classes/response.html#location","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":27,"kind":2048,"name":"redirect","url":"classes/response.html#redirect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":28,"kind":2048,"name":"render","url":"classes/response.html#render","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":29,"kind":2048,"name":"send","url":"classes/response.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":30,"kind":2048,"name":"sendFile","url":"classes/response.html#sendfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":31,"kind":2048,"name":"sendStatus","url":"classes/response.html#sendstatus","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":32,"kind":2048,"name":"status","url":"classes/response.html#status","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":33,"kind":2048,"name":"vary","url":"classes/response.html#vary","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":34,"kind":1024,"name":"statusCode","url":"classes/response.html#statuscode","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":35,"kind":1024,"name":"statusMessage","url":"classes/response.html#statusmessage","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":36,"kind":512,"name":"constructor","url":"classes/response.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":37,"kind":2048,"name":"assignSocket","url":"classes/response.html#assignsocket","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":38,"kind":2048,"name":"detachSocket","url":"classes/response.html#detachsocket","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":39,"kind":2048,"name":"writeContinue","url":"classes/response.html#writecontinue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":40,"kind":2048,"name":"writeHead","url":"classes/response.html#writehead","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":41,"kind":1024,"name":"upgrading","url":"classes/response.html#upgrading","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":42,"kind":1024,"name":"chunkedEncoding","url":"classes/response.html#chunkedencoding","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":43,"kind":1024,"name":"shouldKeepAlive","url":"classes/response.html#shouldkeepalive","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":44,"kind":1024,"name":"useChunkedEncodingByDefault","url":"classes/response.html#usechunkedencodingbydefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":45,"kind":1024,"name":"sendDate","url":"classes/response.html#senddate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":46,"kind":1024,"name":"finished","url":"classes/response.html#finished","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":47,"kind":1024,"name":"headersSent","url":"classes/response.html#headerssent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":48,"kind":1024,"name":"connection","url":"classes/response.html#connection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":49,"kind":2048,"name":"setTimeout","url":"classes/response.html#settimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":50,"kind":2048,"name":"setHeader","url":"classes/response.html#setheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":51,"kind":2048,"name":"getHeader","url":"classes/response.html#getheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":52,"kind":2048,"name":"getHeaders","url":"classes/response.html#getheaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":53,"kind":2048,"name":"getHeaderNames","url":"classes/response.html#getheadernames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":54,"kind":2048,"name":"hasHeader","url":"classes/response.html#hasheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":55,"kind":2048,"name":"removeHeader","url":"classes/response.html#removeheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":56,"kind":2048,"name":"addTrailers","url":"classes/response.html#addtrailers","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":57,"kind":2048,"name":"flushHeaders","url":"classes/response.html#flushheaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":58,"kind":1024,"name":"writable","url":"classes/response.html#writable","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":59,"kind":1024,"name":"writableHighWaterMark","url":"classes/response.html#writablehighwatermark","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":60,"kind":1024,"name":"writableLength","url":"classes/response.html#writablelength","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":61,"kind":2048,"name":"_write","url":"classes/response.html#_write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":62,"kind":2048,"name":"_writev","url":"classes/response.html#_writev","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":63,"kind":2048,"name":"_destroy","url":"classes/response.html#_destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":64,"kind":2048,"name":"_final","url":"classes/response.html#_final","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":65,"kind":2048,"name":"write","url":"classes/response.html#write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":66,"kind":2048,"name":"setDefaultEncoding","url":"classes/response.html#setdefaultencoding","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":67,"kind":2048,"name":"end","url":"classes/response.html#end","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":68,"kind":2048,"name":"cork","url":"classes/response.html#cork","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":69,"kind":2048,"name":"uncork","url":"classes/response.html#uncork","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":70,"kind":2048,"name":"destroy","url":"classes/response.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":71,"kind":2048,"name":"addListener","url":"classes/response.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":72,"kind":2048,"name":"emit","url":"classes/response.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":73,"kind":2048,"name":"on","url":"classes/response.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":74,"kind":2048,"name":"once","url":"classes/response.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":75,"kind":2048,"name":"prependListener","url":"classes/response.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":76,"kind":2048,"name":"prependOnceListener","url":"classes/response.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":77,"kind":2048,"name":"removeListener","url":"classes/response.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":78,"kind":2048,"name":"pipe","url":"classes/response.html#pipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Response"},{"id":79,"kind":2048,"name":"listenerCount","url":"classes/response.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Response"},{"id":80,"kind":1024,"name":"defaultMaxListeners","url":"classes/response.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Response"},{"id":81,"kind":2048,"name":"off","url":"classes/response.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":82,"kind":2048,"name":"removeAllListeners","url":"classes/response.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":83,"kind":2048,"name":"setMaxListeners","url":"classes/response.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":84,"kind":2048,"name":"getMaxListeners","url":"classes/response.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":85,"kind":2048,"name":"listeners","url":"classes/response.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":86,"kind":2048,"name":"rawListeners","url":"classes/response.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":87,"kind":2048,"name":"eventNames","url":"classes/response.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":88,"kind":2048,"name":"listenerCount","url":"classes/response.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":89,"kind":32,"name":"resolve","url":"globals.html#resolve","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":90,"kind":32,"name":"STATUS_CODES","url":"globals.html#status_codes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":91,"kind":65536,"name":"__type","url":"globals.html#status_codes.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"STATUS_CODES"},{"id":92,"kind":32,"name":"charsetRegExp","url":"globals.html#charsetregexp","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":93,"kind":64,"name":"setCharset","url":"globals.html#setcharset","classes":"tsd-kind-function tsd-is-not-exported"},{"id":94,"kind":64,"name":"stringify","url":"globals.html#stringify","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":95,"kind":64,"name":"isAbsolute","url":"globals.html#isabsolute","classes":"tsd-kind-function tsd-is-not-exported"},{"id":96,"kind":64,"name":"sendfile","url":"globals.html#sendfile","classes":"tsd-kind-function tsd-is-not-exported"},{"id":97,"kind":64,"name":"acceptParams","url":"globals.html#acceptparams","classes":"tsd-kind-function tsd-is-not-exported"},{"id":98,"kind":64,"name":"normalizeType","url":"globals.html#normalizetype","classes":"tsd-kind-function tsd-is-not-exported"},{"id":99,"kind":64,"name":"normalizeTypes","url":"globals.html#normalizetypes","classes":"tsd-kind-function tsd-is-not-exported"},{"id":100,"kind":2097152,"name":"HTTP","url":"globals.html#http","classes":"tsd-kind-object-literal"},{"id":101,"kind":32,"name":"CONTINUE","url":"globals.html#http.continue","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":102,"kind":32,"name":"SWITCHING_PROTOCOL","url":"globals.html#http.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":103,"kind":32,"name":"PROCESSING","url":"globals.html#http.processing","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":104,"kind":32,"name":"EARLY_HINTS","url":"globals.html#http.early_hints","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":105,"kind":32,"name":"OK","url":"globals.html#http.ok","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":106,"kind":32,"name":"CREATED","url":"globals.html#http.created","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":107,"kind":32,"name":"ACCEPTED","url":"globals.html#http.accepted","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":108,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"globals.html#http.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":109,"kind":32,"name":"NO_CONTENT","url":"globals.html#http.no_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":110,"kind":32,"name":"RESET_CONTENT","url":"globals.html#http.reset_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":111,"kind":32,"name":"PARTIAL_CONTENT","url":"globals.html#http.partial_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":112,"kind":32,"name":"MULTI_STATUS","url":"globals.html#http.multi_status","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":113,"kind":32,"name":"ALREADY_REPORTED","url":"globals.html#http.already_reported","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":114,"kind":32,"name":"IM_USED","url":"globals.html#http.im_used","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":115,"kind":32,"name":"MULTIPLE_CHOICES","url":"globals.html#http.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":116,"kind":32,"name":"MOVED_PERMANENTLY","url":"globals.html#http.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":117,"kind":32,"name":"FOUND","url":"globals.html#http.found","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":118,"kind":32,"name":"SEE_OTHER","url":"globals.html#http.see_other","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":119,"kind":32,"name":"NOT_MODIFIED","url":"globals.html#http.not_modified","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":120,"kind":32,"name":"USE_PROXY","url":"globals.html#http.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":121,"kind":32,"name":"SWITCH_PROXY","url":"globals.html#http.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":122,"kind":32,"name":"TEMPORARY_REDIRECT","url":"globals.html#http.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":123,"kind":32,"name":"PERMANENT_REDIRECT","url":"globals.html#http.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":124,"kind":32,"name":"BAD_REQUEST","url":"globals.html#http.bad_request","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":125,"kind":32,"name":"UNAUTHORIZED","url":"globals.html#http.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":126,"kind":32,"name":"PAYMENT_REQUIRED","url":"globals.html#http.payment_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":127,"kind":32,"name":"FORBIDEN","url":"globals.html#http.forbiden","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":128,"kind":32,"name":"NOT_FOUND","url":"globals.html#http.not_found","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":129,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"globals.html#http.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":130,"kind":32,"name":"NOT_ACCEPTABLE","url":"globals.html#http.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":131,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"globals.html#http.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":132,"kind":32,"name":"REQUEST_TIMEOUT","url":"globals.html#http.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":133,"kind":32,"name":"CONFLICT","url":"globals.html#http.conflict","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":134,"kind":32,"name":"GONE","url":"globals.html#http.gone","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":135,"kind":32,"name":"LENGTH_REQUIRED","url":"globals.html#http.length_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":136,"kind":32,"name":"PRECONDITION_FAILED","url":"globals.html#http.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":137,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"globals.html#http.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":138,"kind":32,"name":"URI_TOO_LONG","url":"globals.html#http.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":139,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"globals.html#http.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":140,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"globals.html#http.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":141,"kind":32,"name":"EXPECTATION_FAILED","url":"globals.html#http.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":142,"kind":32,"name":"IM_A_TEAPOT","url":"globals.html#http.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":143,"kind":32,"name":"MISDIRECET_REQUEST","url":"globals.html#http.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":144,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"globals.html#http.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":145,"kind":32,"name":"LOCKED","url":"globals.html#http.locked","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":146,"kind":32,"name":"FAILED_DEPENDENCY","url":"globals.html#http.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":147,"kind":32,"name":"UPGRADE_REQUIRED","url":"globals.html#http.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":148,"kind":32,"name":"PRECONDITION_REQUIRED","url":"globals.html#http.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":149,"kind":32,"name":"TOO_MANY_REQUESTS","url":"globals.html#http.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":150,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"globals.html#http.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":151,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"globals.html#http.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":152,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"globals.html#http.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":153,"kind":32,"name":"NOT_IMPLEMENTED","url":"globals.html#http.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":154,"kind":32,"name":"BAD_GATEWAY","url":"globals.html#http.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":155,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"globals.html#http.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":156,"kind":32,"name":"GATEWAY_TIMEOUT","url":"globals.html#http.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":157,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"globals.html#http.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":158,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"globals.html#http.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":159,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"globals.html#http.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":160,"kind":32,"name":"LOOP_DETECTED","url":"globals.html#http.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":161,"kind":32,"name":"NOT_EXTENDED","url":"globals.html#http.not_extended","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":162,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"globals.html#http.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":163,"kind":128,"name":"Request","url":"classes/request.html","classes":"tsd-kind-class"},{"id":164,"kind":1024,"name":"query","url":"classes/request.html#query","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Request"},{"id":165,"kind":1024,"name":"head","url":"classes/request.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Request"},{"id":166,"kind":262144,"name":"fresh","url":"classes/request.html#fresh","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":167,"kind":262144,"name":"hostname","url":"classes/request.html#hostname","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":168,"kind":262144,"name":"path","url":"classes/request.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":169,"kind":262144,"name":"stale","url":"classes/request.html#stale","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":170,"kind":262144,"name":"subdomains","url":"classes/request.html#subdomains","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":171,"kind":262144,"name":"xhr","url":"classes/request.html#xhr","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":172,"kind":2048,"name":"accepts","url":"classes/request.html#accepts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":173,"kind":2048,"name":"acceptsCharsets","url":"classes/request.html#acceptscharsets","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":174,"kind":2048,"name":"acceptsEncodings","url":"classes/request.html#acceptsencodings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":175,"kind":2048,"name":"acceptsLanguages","url":"classes/request.html#acceptslanguages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":176,"kind":2048,"name":"get","url":"classes/request.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":177,"kind":2048,"name":"is","url":"classes/request.html#is","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":178,"kind":2048,"name":"range","url":"classes/request.html#range","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":179,"kind":512,"name":"constructor","url":"classes/request.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":180,"kind":1024,"name":"httpVersion","url":"classes/request.html#httpversion","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":181,"kind":1024,"name":"httpVersionMajor","url":"classes/request.html#httpversionmajor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":182,"kind":1024,"name":"httpVersionMinor","url":"classes/request.html#httpversionminor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":183,"kind":1024,"name":"connection","url":"classes/request.html#connection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":184,"kind":1024,"name":"headers","url":"classes/request.html#headers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":185,"kind":1024,"name":"rawHeaders","url":"classes/request.html#rawheaders","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":186,"kind":1024,"name":"trailers","url":"classes/request.html#trailers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":187,"kind":65536,"name":"__type","url":"classes/request.html#trailers.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Request.trailers"},{"id":188,"kind":1024,"name":"rawTrailers","url":"classes/request.html#rawtrailers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":189,"kind":2048,"name":"setTimeout","url":"classes/request.html#settimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":190,"kind":1024,"name":"method","url":"classes/request.html#method","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":191,"kind":1024,"name":"url","url":"classes/request.html#url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":192,"kind":1024,"name":"statusCode","url":"classes/request.html#statuscode","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":193,"kind":1024,"name":"statusMessage","url":"classes/request.html#statusmessage","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":194,"kind":1024,"name":"socket","url":"classes/request.html#socket","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":195,"kind":2048,"name":"destroy","url":"classes/request.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":196,"kind":1024,"name":"readable","url":"classes/request.html#readable","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":197,"kind":1024,"name":"readableHighWaterMark","url":"classes/request.html#readablehighwatermark","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":198,"kind":1024,"name":"readableLength","url":"classes/request.html#readablelength","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":199,"kind":2048,"name":"_read","url":"classes/request.html#_read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":200,"kind":2048,"name":"read","url":"classes/request.html#read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":201,"kind":2048,"name":"setEncoding","url":"classes/request.html#setencoding","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":202,"kind":2048,"name":"pause","url":"classes/request.html#pause","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":203,"kind":2048,"name":"resume","url":"classes/request.html#resume","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":204,"kind":2048,"name":"isPaused","url":"classes/request.html#ispaused","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":205,"kind":2048,"name":"unpipe","url":"classes/request.html#unpipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Request"},{"id":206,"kind":2048,"name":"unshift","url":"classes/request.html#unshift","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":207,"kind":2048,"name":"wrap","url":"classes/request.html#wrap","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":208,"kind":2048,"name":"push","url":"classes/request.html#push","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":209,"kind":2048,"name":"_destroy","url":"classes/request.html#_destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":210,"kind":2048,"name":"addListener","url":"classes/request.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":211,"kind":2048,"name":"emit","url":"classes/request.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":212,"kind":2048,"name":"on","url":"classes/request.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":213,"kind":2048,"name":"once","url":"classes/request.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":214,"kind":2048,"name":"prependListener","url":"classes/request.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":215,"kind":2048,"name":"prependOnceListener","url":"classes/request.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":216,"kind":2048,"name":"removeListener","url":"classes/request.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":217,"kind":2048,"name":"__@asyncIterator","url":"classes/request.html#___asynciterator","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":218,"kind":2048,"name":"pipe","url":"classes/request.html#pipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Request"},{"id":219,"kind":2048,"name":"listenerCount","url":"classes/request.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Request"},{"id":220,"kind":1024,"name":"defaultMaxListeners","url":"classes/request.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Request"},{"id":221,"kind":2048,"name":"off","url":"classes/request.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":222,"kind":2048,"name":"removeAllListeners","url":"classes/request.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":223,"kind":2048,"name":"setMaxListeners","url":"classes/request.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":224,"kind":2048,"name":"getMaxListeners","url":"classes/request.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":225,"kind":2048,"name":"listeners","url":"classes/request.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":226,"kind":2048,"name":"rawListeners","url":"classes/request.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":227,"kind":2048,"name":"eventNames","url":"classes/request.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":228,"kind":2048,"name":"listenerCount","url":"classes/request.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":229,"kind":128,"name":"HttpException","url":"classes/httpexception.html","classes":"tsd-kind-class"},{"id":230,"kind":1024,"name":"code","url":"classes/httpexception.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"HttpException"},{"id":231,"kind":1024,"name":"errors","url":"classes/httpexception.html#errors","classes":"tsd-kind-property tsd-parent-kind-class","parent":"HttpException"},{"id":232,"kind":2048,"name":"handle","url":"classes/httpexception.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"HttpException"},{"id":233,"kind":1024,"name":"name","url":"classes/httpexception.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"HttpException"},{"id":234,"kind":1024,"name":"message","url":"classes/httpexception.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"HttpException"},{"id":235,"kind":1024,"name":"stack","url":"classes/httpexception.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"HttpException"},{"id":236,"kind":1024,"name":"Error","url":"classes/httpexception.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"HttpException"},{"id":237,"kind":512,"name":"constructor","url":"classes/httpexception.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"HttpException"},{"id":238,"kind":2048,"name":"handle","url":"classes/httpexception.html#handle-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"HttpException"},{"id":239,"kind":1024,"name":"Error","url":"classes/httpexception.html#error-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"HttpException"},{"id":240,"kind":128,"name":"Encapsulation","url":"classes/encapsulation.html","classes":"tsd-kind-class"},{"id":241,"kind":1024,"name":"_fn","url":"classes/encapsulation.html#_fn","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Encapsulation"},{"id":242,"kind":65536,"name":"__type","url":"classes/encapsulation.html#_fn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Encapsulation._fn"},{"id":243,"kind":512,"name":"constructor","url":"classes/encapsulation.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Encapsulation"},{"id":244,"kind":2048,"name":"run","url":"classes/encapsulation.html#run","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Encapsulation"},{"id":245,"kind":2,"name":"__global","url":"modules/__global.html","classes":"tsd-kind-module tsd-is-not-exported"},{"id":246,"kind":2,"name":"NodeJS","url":"modules/__global.nodejs.html","classes":"tsd-kind-module tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":247,"kind":256,"name":"Global","url":"interfaces/__global.nodejs.global.html","classes":"tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported","parent":"__global.NodeJS"},{"id":248,"kind":1024,"name":"HttpException","url":"interfaces/__global.nodejs.global.html#httpexception","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"__global.NodeJS.Global"},{"id":249,"kind":1024,"name":"HTTP","url":"interfaces/__global.nodejs.global.html#http","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"__global.NodeJS.Global"},{"id":250,"kind":65536,"name":"__type","url":"interfaces/__global.nodejs.global.html#http.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP"},{"id":251,"kind":32,"name":"CONTINUE","url":"interfaces/__global.nodejs.global.html#http.__type.continue","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":252,"kind":32,"name":"SWITCHING_PROTOCOL","url":"interfaces/__global.nodejs.global.html#http.__type.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":253,"kind":32,"name":"PROCESSING","url":"interfaces/__global.nodejs.global.html#http.__type.processing","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":254,"kind":32,"name":"EARLY_HINTS","url":"interfaces/__global.nodejs.global.html#http.__type.early_hints","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":255,"kind":32,"name":"OK","url":"interfaces/__global.nodejs.global.html#http.__type.ok","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":256,"kind":32,"name":"CREATED","url":"interfaces/__global.nodejs.global.html#http.__type.created","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":257,"kind":32,"name":"ACCEPTED","url":"interfaces/__global.nodejs.global.html#http.__type.accepted","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":258,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"interfaces/__global.nodejs.global.html#http.__type.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":259,"kind":32,"name":"NO_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.no_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":260,"kind":32,"name":"RESET_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.reset_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":261,"kind":32,"name":"PARTIAL_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.partial_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":262,"kind":32,"name":"MULTI_STATUS","url":"interfaces/__global.nodejs.global.html#http.__type.multi_status","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":263,"kind":32,"name":"ALREADY_REPORTED","url":"interfaces/__global.nodejs.global.html#http.__type.already_reported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":264,"kind":32,"name":"IM_USED","url":"interfaces/__global.nodejs.global.html#http.__type.im_used","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":265,"kind":32,"name":"MULTIPLE_CHOICES","url":"interfaces/__global.nodejs.global.html#http.__type.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":266,"kind":32,"name":"MOVED_PERMANENTLY","url":"interfaces/__global.nodejs.global.html#http.__type.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":267,"kind":32,"name":"FOUND","url":"interfaces/__global.nodejs.global.html#http.__type.found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":268,"kind":32,"name":"SEE_OTHER","url":"interfaces/__global.nodejs.global.html#http.__type.see_other","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":269,"kind":32,"name":"NOT_MODIFIED","url":"interfaces/__global.nodejs.global.html#http.__type.not_modified","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":270,"kind":32,"name":"USE_PROXY","url":"interfaces/__global.nodejs.global.html#http.__type.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":271,"kind":32,"name":"SWITCH_PROXY","url":"interfaces/__global.nodejs.global.html#http.__type.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":272,"kind":32,"name":"TEMPORARY_REDIRECT","url":"interfaces/__global.nodejs.global.html#http.__type.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":273,"kind":32,"name":"PERMANENT_REDIRECT","url":"interfaces/__global.nodejs.global.html#http.__type.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":274,"kind":32,"name":"BAD_REQUEST","url":"interfaces/__global.nodejs.global.html#http.__type.bad_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":275,"kind":32,"name":"UNAUTHORIZED","url":"interfaces/__global.nodejs.global.html#http.__type.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":276,"kind":32,"name":"PAYMENT_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.payment_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":277,"kind":32,"name":"FORBIDEN","url":"interfaces/__global.nodejs.global.html#http.__type.forbiden","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":278,"kind":32,"name":"NOT_FOUND","url":"interfaces/__global.nodejs.global.html#http.__type.not_found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":279,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"interfaces/__global.nodejs.global.html#http.__type.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":280,"kind":32,"name":"NOT_ACCEPTABLE","url":"interfaces/__global.nodejs.global.html#http.__type.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":281,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":282,"kind":32,"name":"REQUEST_TIMEOUT","url":"interfaces/__global.nodejs.global.html#http.__type.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":283,"kind":32,"name":"CONFLICT","url":"interfaces/__global.nodejs.global.html#http.__type.conflict","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":284,"kind":32,"name":"GONE","url":"interfaces/__global.nodejs.global.html#http.__type.gone","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":285,"kind":32,"name":"LENGTH_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.length_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":286,"kind":32,"name":"PRECONDITION_FAILED","url":"interfaces/__global.nodejs.global.html#http.__type.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":287,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"interfaces/__global.nodejs.global.html#http.__type.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":288,"kind":32,"name":"URI_TOO_LONG","url":"interfaces/__global.nodejs.global.html#http.__type.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":289,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"interfaces/__global.nodejs.global.html#http.__type.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":290,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"interfaces/__global.nodejs.global.html#http.__type.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":291,"kind":32,"name":"EXPECTATION_FAILED","url":"interfaces/__global.nodejs.global.html#http.__type.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":292,"kind":32,"name":"IM_A_TEAPOT","url":"interfaces/__global.nodejs.global.html#http.__type.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":293,"kind":32,"name":"MISDIRECET_REQUEST","url":"interfaces/__global.nodejs.global.html#http.__type.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":294,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"interfaces/__global.nodejs.global.html#http.__type.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":295,"kind":32,"name":"LOCKED","url":"interfaces/__global.nodejs.global.html#http.__type.locked","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":296,"kind":32,"name":"FAILED_DEPENDENCY","url":"interfaces/__global.nodejs.global.html#http.__type.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":297,"kind":32,"name":"UPGRADE_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":298,"kind":32,"name":"PRECONDITION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":299,"kind":32,"name":"TOO_MANY_REQUESTS","url":"interfaces/__global.nodejs.global.html#http.__type.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":300,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"interfaces/__global.nodejs.global.html#http.__type.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":301,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"interfaces/__global.nodejs.global.html#http.__type.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":302,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"interfaces/__global.nodejs.global.html#http.__type.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":303,"kind":32,"name":"NOT_IMPLEMENTED","url":"interfaces/__global.nodejs.global.html#http.__type.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":304,"kind":32,"name":"BAD_GATEWAY","url":"interfaces/__global.nodejs.global.html#http.__type.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":305,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"interfaces/__global.nodejs.global.html#http.__type.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":306,"kind":32,"name":"GATEWAY_TIMEOUT","url":"interfaces/__global.nodejs.global.html#http.__type.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":307,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"interfaces/__global.nodejs.global.html#http.__type.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":308,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"interfaces/__global.nodejs.global.html#http.__type.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":309,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"interfaces/__global.nodejs.global.html#http.__type.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":310,"kind":32,"name":"LOOP_DETECTED","url":"interfaces/__global.nodejs.global.html#http.__type.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":311,"kind":32,"name":"NOT_EXTENDED","url":"interfaces/__global.nodejs.global.html#http.__type.not_extended","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":312,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":313,"kind":32,"name":"HttpException","url":"modules/__global.html#httpexception","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":314,"kind":32,"name":"HTTP","url":"modules/__global.html#http","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":315,"kind":65536,"name":"__type","url":"modules/__global.html#http.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"__global.HTTP"},{"id":316,"kind":32,"name":"CONTINUE","url":"modules/__global.html#http.__type.continue","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":317,"kind":32,"name":"SWITCHING_PROTOCOL","url":"modules/__global.html#http.__type.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":318,"kind":32,"name":"PROCESSING","url":"modules/__global.html#http.__type.processing","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":319,"kind":32,"name":"EARLY_HINTS","url":"modules/__global.html#http.__type.early_hints","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":320,"kind":32,"name":"OK","url":"modules/__global.html#http.__type.ok","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":321,"kind":32,"name":"CREATED","url":"modules/__global.html#http.__type.created","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":322,"kind":32,"name":"ACCEPTED","url":"modules/__global.html#http.__type.accepted","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":323,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"modules/__global.html#http.__type.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":324,"kind":32,"name":"NO_CONTENT","url":"modules/__global.html#http.__type.no_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":325,"kind":32,"name":"RESET_CONTENT","url":"modules/__global.html#http.__type.reset_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":326,"kind":32,"name":"PARTIAL_CONTENT","url":"modules/__global.html#http.__type.partial_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":327,"kind":32,"name":"MULTI_STATUS","url":"modules/__global.html#http.__type.multi_status","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":328,"kind":32,"name":"ALREADY_REPORTED","url":"modules/__global.html#http.__type.already_reported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":329,"kind":32,"name":"IM_USED","url":"modules/__global.html#http.__type.im_used","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":330,"kind":32,"name":"MULTIPLE_CHOICES","url":"modules/__global.html#http.__type.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":331,"kind":32,"name":"MOVED_PERMANENTLY","url":"modules/__global.html#http.__type.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":332,"kind":32,"name":"FOUND","url":"modules/__global.html#http.__type.found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":333,"kind":32,"name":"SEE_OTHER","url":"modules/__global.html#http.__type.see_other","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":334,"kind":32,"name":"NOT_MODIFIED","url":"modules/__global.html#http.__type.not_modified","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":335,"kind":32,"name":"USE_PROXY","url":"modules/__global.html#http.__type.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":336,"kind":32,"name":"SWITCH_PROXY","url":"modules/__global.html#http.__type.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":337,"kind":32,"name":"TEMPORARY_REDIRECT","url":"modules/__global.html#http.__type.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":338,"kind":32,"name":"PERMANENT_REDIRECT","url":"modules/__global.html#http.__type.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":339,"kind":32,"name":"BAD_REQUEST","url":"modules/__global.html#http.__type.bad_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":340,"kind":32,"name":"UNAUTHORIZED","url":"modules/__global.html#http.__type.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":341,"kind":32,"name":"PAYMENT_REQUIRED","url":"modules/__global.html#http.__type.payment_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":342,"kind":32,"name":"FORBIDEN","url":"modules/__global.html#http.__type.forbiden","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":343,"kind":32,"name":"NOT_FOUND","url":"modules/__global.html#http.__type.not_found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":344,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"modules/__global.html#http.__type.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":345,"kind":32,"name":"NOT_ACCEPTABLE","url":"modules/__global.html#http.__type.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":346,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"modules/__global.html#http.__type.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":347,"kind":32,"name":"REQUEST_TIMEOUT","url":"modules/__global.html#http.__type.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":348,"kind":32,"name":"CONFLICT","url":"modules/__global.html#http.__type.conflict","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":349,"kind":32,"name":"GONE","url":"modules/__global.html#http.__type.gone","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":350,"kind":32,"name":"LENGTH_REQUIRED","url":"modules/__global.html#http.__type.length_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":351,"kind":32,"name":"PRECONDITION_FAILED","url":"modules/__global.html#http.__type.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":352,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"modules/__global.html#http.__type.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":353,"kind":32,"name":"URI_TOO_LONG","url":"modules/__global.html#http.__type.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":354,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"modules/__global.html#http.__type.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":355,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"modules/__global.html#http.__type.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":356,"kind":32,"name":"EXPECTATION_FAILED","url":"modules/__global.html#http.__type.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":357,"kind":32,"name":"IM_A_TEAPOT","url":"modules/__global.html#http.__type.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":358,"kind":32,"name":"MISDIRECET_REQUEST","url":"modules/__global.html#http.__type.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":359,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"modules/__global.html#http.__type.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":360,"kind":32,"name":"LOCKED","url":"modules/__global.html#http.__type.locked","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":361,"kind":32,"name":"FAILED_DEPENDENCY","url":"modules/__global.html#http.__type.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":362,"kind":32,"name":"UPGRADE_REQUIRED","url":"modules/__global.html#http.__type.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":363,"kind":32,"name":"PRECONDITION_REQUIRED","url":"modules/__global.html#http.__type.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":364,"kind":32,"name":"TOO_MANY_REQUESTS","url":"modules/__global.html#http.__type.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":365,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"modules/__global.html#http.__type.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":366,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"modules/__global.html#http.__type.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":367,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"modules/__global.html#http.__type.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":368,"kind":32,"name":"NOT_IMPLEMENTED","url":"modules/__global.html#http.__type.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":369,"kind":32,"name":"BAD_GATEWAY","url":"modules/__global.html#http.__type.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":370,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"modules/__global.html#http.__type.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":371,"kind":32,"name":"GATEWAY_TIMEOUT","url":"modules/__global.html#http.__type.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":372,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"modules/__global.html#http.__type.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":373,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"modules/__global.html#http.__type.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":374,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"modules/__global.html#http.__type.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":375,"kind":32,"name":"LOOP_DETECTED","url":"modules/__global.html#http.__type.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":376,"kind":32,"name":"NOT_EXTENDED","url":"modules/__global.html#http.__type.not_extended","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":377,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"modules/__global.html#http.__type.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":378,"kind":64,"name":"init","url":"globals.html#init","classes":"tsd-kind-function"},{"id":379,"kind":128,"name":"Route","url":"classes/route.html","classes":"tsd-kind-class"},{"id":380,"kind":1024,"name":"get","url":"classes/route.html#get","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":381,"kind":1024,"name":"post","url":"classes/route.html#post","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":382,"kind":1024,"name":"put","url":"classes/route.html#put","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":383,"kind":1024,"name":"head","url":"classes/route.html#head","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":384,"kind":1024,"name":"delete","url":"classes/route.html#delete","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":385,"kind":1024,"name":"options","url":"classes/route.html#options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":386,"kind":1024,"name":"trace","url":"classes/route.html#trace","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":387,"kind":1024,"name":"copy","url":"classes/route.html#copy","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":388,"kind":1024,"name":"lock","url":"classes/route.html#lock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":389,"kind":1024,"name":"mkcol","url":"classes/route.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":390,"kind":1024,"name":"move","url":"classes/route.html#move","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":391,"kind":1024,"name":"purge","url":"classes/route.html#purge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":392,"kind":1024,"name":"propfind","url":"classes/route.html#propfind","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":393,"kind":1024,"name":"proppatch","url":"classes/route.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":394,"kind":1024,"name":"unlock","url":"classes/route.html#unlock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":395,"kind":1024,"name":"report","url":"classes/route.html#report","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":396,"kind":1024,"name":"mkactivity","url":"classes/route.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":397,"kind":1024,"name":"checkout","url":"classes/route.html#checkout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":398,"kind":1024,"name":"merge","url":"classes/route.html#merge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":399,"kind":1024,"name":"m-search","url":"classes/route.html#m_search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":400,"kind":1024,"name":"notify","url":"classes/route.html#notify","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":401,"kind":1024,"name":"subscribe","url":"classes/route.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":402,"kind":1024,"name":"unsubscribe","url":"classes/route.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":403,"kind":1024,"name":"patch","url":"classes/route.html#patch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":404,"kind":1024,"name":"search","url":"classes/route.html#search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":405,"kind":1024,"name":"connect","url":"classes/route.html#connect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":406,"kind":2048,"name":"isRoute","url":"classes/route.html#isroute","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":407,"kind":1024,"name":"_routes","url":"classes/route.html#_routes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":408,"kind":1024,"name":"_prefix","url":"classes/route.html#_prefix","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":409,"kind":262144,"name":"routes","url":"classes/route.html#routes-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Route"},{"id":410,"kind":512,"name":"constructor","url":"classes/route.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Route"},{"id":411,"kind":2048,"name":"_push","url":"classes/route.html#_push","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":412,"kind":2048,"name":"any","url":"classes/route.html#any","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":413,"kind":2048,"name":"oneOf","url":"classes/route.html#oneof","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":414,"kind":2048,"name":"use","url":"classes/route.html#use","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":415,"kind":256,"name":"MethodFunctions","url":"interfaces/route.methodfunctions.html","classes":"tsd-kind-interface tsd-parent-kind-class tsd-has-type-parameter","parent":"Route"},{"id":416,"kind":1024,"name":"get","url":"interfaces/route.methodfunctions.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":417,"kind":1024,"name":"post","url":"interfaces/route.methodfunctions.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":418,"kind":1024,"name":"put","url":"interfaces/route.methodfunctions.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":419,"kind":1024,"name":"head","url":"interfaces/route.methodfunctions.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":420,"kind":1024,"name":"delete","url":"interfaces/route.methodfunctions.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":421,"kind":1024,"name":"options","url":"interfaces/route.methodfunctions.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":422,"kind":1024,"name":"trace","url":"interfaces/route.methodfunctions.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":423,"kind":1024,"name":"copy","url":"interfaces/route.methodfunctions.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":424,"kind":1024,"name":"lock","url":"interfaces/route.methodfunctions.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":425,"kind":1024,"name":"mkcol","url":"interfaces/route.methodfunctions.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":426,"kind":1024,"name":"move","url":"interfaces/route.methodfunctions.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":427,"kind":1024,"name":"purge","url":"interfaces/route.methodfunctions.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":428,"kind":1024,"name":"propfind","url":"interfaces/route.methodfunctions.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":429,"kind":1024,"name":"proppatch","url":"interfaces/route.methodfunctions.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":430,"kind":1024,"name":"unlock","url":"interfaces/route.methodfunctions.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":431,"kind":1024,"name":"report","url":"interfaces/route.methodfunctions.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":432,"kind":1024,"name":"mkactivity","url":"interfaces/route.methodfunctions.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":433,"kind":1024,"name":"checkout","url":"interfaces/route.methodfunctions.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":434,"kind":1024,"name":"merge","url":"interfaces/route.methodfunctions.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":435,"kind":1024,"name":"m-search","url":"interfaces/route.methodfunctions.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":436,"kind":1024,"name":"notify","url":"interfaces/route.methodfunctions.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":437,"kind":1024,"name":"subscribe","url":"interfaces/route.methodfunctions.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":438,"kind":1024,"name":"unsubscribe","url":"interfaces/route.methodfunctions.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":439,"kind":1024,"name":"patch","url":"interfaces/route.methodfunctions.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":440,"kind":1024,"name":"search","url":"interfaces/route.methodfunctions.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":441,"kind":1024,"name":"connect","url":"interfaces/route.methodfunctions.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":442,"kind":256,"name":"Routes","url":"interfaces/route.routes.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":443,"kind":1024,"name":"get","url":"interfaces/route.routes.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":444,"kind":1024,"name":"post","url":"interfaces/route.routes.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":445,"kind":1024,"name":"put","url":"interfaces/route.routes.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":446,"kind":1024,"name":"head","url":"interfaces/route.routes.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":447,"kind":1024,"name":"delete","url":"interfaces/route.routes.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":448,"kind":1024,"name":"options","url":"interfaces/route.routes.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":449,"kind":1024,"name":"trace","url":"interfaces/route.routes.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":450,"kind":1024,"name":"copy","url":"interfaces/route.routes.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":451,"kind":1024,"name":"lock","url":"interfaces/route.routes.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":452,"kind":1024,"name":"mkcol","url":"interfaces/route.routes.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":453,"kind":1024,"name":"move","url":"interfaces/route.routes.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":454,"kind":1024,"name":"purge","url":"interfaces/route.routes.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":455,"kind":1024,"name":"propfind","url":"interfaces/route.routes.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":456,"kind":1024,"name":"proppatch","url":"interfaces/route.routes.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":457,"kind":1024,"name":"unlock","url":"interfaces/route.routes.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":458,"kind":1024,"name":"report","url":"interfaces/route.routes.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":459,"kind":1024,"name":"mkactivity","url":"interfaces/route.routes.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":460,"kind":1024,"name":"checkout","url":"interfaces/route.routes.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":461,"kind":1024,"name":"merge","url":"interfaces/route.routes.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":462,"kind":1024,"name":"m-search","url":"interfaces/route.routes.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":463,"kind":1024,"name":"notify","url":"interfaces/route.routes.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":464,"kind":1024,"name":"subscribe","url":"interfaces/route.routes.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":465,"kind":1024,"name":"unsubscribe","url":"interfaces/route.routes.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":466,"kind":1024,"name":"patch","url":"interfaces/route.routes.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":467,"kind":1024,"name":"search","url":"interfaces/route.routes.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":468,"kind":1024,"name":"connect","url":"interfaces/route.routes.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":469,"kind":256,"name":"RouteObject","url":"interfaces/route.routeobject.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":470,"kind":1024,"name":"path","url":"interfaces/route.routeobject.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":471,"kind":1024,"name":"options","url":"interfaces/route.routeobject.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":472,"kind":1024,"name":"controller","url":"interfaces/route.routeobject.html#controller","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":473,"kind":256,"name":"JsonSchemaProperties","url":"interfaces/route.jsonschemaproperties.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":474,"kind":256,"name":"JsonSchema","url":"interfaces/route.jsonschema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":475,"kind":1024,"name":"title","url":"interfaces/route.jsonschema.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":476,"kind":1024,"name":"type","url":"interfaces/route.jsonschema.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":477,"kind":1024,"name":"properties","url":"interfaces/route.jsonschema.html#properties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":478,"kind":1024,"name":"patternProperties","url":"interfaces/route.jsonschema.html#patternproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":479,"kind":1024,"name":"additionalProperties","url":"interfaces/route.jsonschema.html#additionalproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":480,"kind":1024,"name":"required","url":"interfaces/route.jsonschema.html#required","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":481,"kind":256,"name":"Schema","url":"interfaces/route.schema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":482,"kind":1024,"name":"response","url":"interfaces/route.schema.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Schema"},{"id":483,"kind":65536,"name":"__type","url":"interfaces/route.schema.html#response.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Route.Schema.response"},{"id":484,"kind":256,"name":"RouteOptions","url":"interfaces/route.routeoptions.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":485,"kind":1024,"name":"schema","url":"interfaces/route.routeoptions.html#schema","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteOptions"},{"id":486,"kind":4194304,"name":"Controller","url":"classes/route.html#controller","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":487,"kind":65536,"name":"__type","url":"classes/route.html#controller.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Route.Controller"},{"id":488,"kind":4194304,"name":"MethodFunction","url":"classes/route.html#methodfunction","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Route"},{"id":489,"kind":65536,"name":"__type","url":"classes/route.html#methodfunction.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Route.MethodFunction"},{"id":490,"kind":4194304,"name":"JsonSchemaType","url":"classes/route.html#jsonschematype","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":491,"kind":128,"name":"Router","url":"classes/router.html","classes":"tsd-kind-class"},{"id":492,"kind":1024,"name":"_routes","url":"classes/router.html#_routes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":493,"kind":512,"name":"constructor","url":"classes/router.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Router"},{"id":494,"kind":2048,"name":"_next","url":"classes/router.html#_next","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":495,"kind":1024,"name":"_safeNext","url":"classes/router.html#_safenext","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":496,"kind":2048,"name":"initialize","url":"classes/router.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":497,"kind":2048,"name":"prepend","url":"classes/router.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":498,"kind":2048,"name":"push","url":"classes/router.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":499,"kind":2048,"name":"route","url":"classes/router.html#route","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":500,"kind":128,"name":"Foxify","url":"classes/foxify.html","classes":"tsd-kind-class"},{"id":501,"kind":2048,"name":"get","url":"classes/foxify.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Foxify"},{"id":502,"kind":2048,"name":"use","url":"classes/foxify.html#use","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":503,"kind":1024,"name":"post","url":"classes/foxify.html#post","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":504,"kind":1024,"name":"put","url":"classes/foxify.html#put","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":505,"kind":1024,"name":"head","url":"classes/foxify.html#head","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":506,"kind":1024,"name":"delete","url":"classes/foxify.html#delete","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":507,"kind":1024,"name":"options","url":"classes/foxify.html#options-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":508,"kind":1024,"name":"trace","url":"classes/foxify.html#trace","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":509,"kind":1024,"name":"copy","url":"classes/foxify.html#copy","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":510,"kind":1024,"name":"lock","url":"classes/foxify.html#lock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":511,"kind":1024,"name":"mkcol","url":"classes/foxify.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":512,"kind":1024,"name":"move","url":"classes/foxify.html#move","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":513,"kind":1024,"name":"purge","url":"classes/foxify.html#purge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":514,"kind":1024,"name":"propfind","url":"classes/foxify.html#propfind","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":515,"kind":1024,"name":"proppatch","url":"classes/foxify.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":516,"kind":1024,"name":"unlock","url":"classes/foxify.html#unlock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":517,"kind":1024,"name":"report","url":"classes/foxify.html#report","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":518,"kind":1024,"name":"mkactivity","url":"classes/foxify.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":519,"kind":1024,"name":"checkout","url":"classes/foxify.html#checkout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":520,"kind":1024,"name":"merge","url":"classes/foxify.html#merge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":521,"kind":1024,"name":"m-search","url":"classes/foxify.html#m_search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":522,"kind":1024,"name":"notify","url":"classes/foxify.html#notify","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":523,"kind":1024,"name":"subscribe","url":"classes/foxify.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":524,"kind":1024,"name":"unsubscribe","url":"classes/foxify.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":525,"kind":1024,"name":"patch","url":"classes/foxify.html#patch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":526,"kind":1024,"name":"search","url":"classes/foxify.html#search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":527,"kind":1024,"name":"connect","url":"classes/foxify.html#connect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":528,"kind":1024,"name":"constants","url":"classes/foxify.html#constants","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":529,"kind":1024,"name":"Route","url":"classes/foxify.html#route","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":530,"kind":1024,"name":"static","url":"classes/foxify.html#static","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":531,"kind":2048,"name":"dotenv","url":"classes/foxify.html#dotenv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":532,"kind":2097152,"name":"_options","url":"classes/foxify.html#_options","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":533,"kind":32,"name":"https","url":"classes/foxify.html#_options.https","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":534,"kind":32,"name":"x-powered-by","url":"classes/foxify.html#_options.x_powered_by","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":535,"kind":2097152,"name":"routing","url":"classes/foxify.html#_options.routing","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":536,"kind":32,"name":"strict","url":"classes/foxify.html#_options.routing.strict","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.routing"},{"id":537,"kind":32,"name":"sensitive","url":"classes/foxify.html#_options.routing.sensitive","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.routing"},{"id":538,"kind":2097152,"name":"json","url":"classes/foxify.html#_options.json","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":539,"kind":32,"name":"escape","url":"classes/foxify.html#_options.json.escape","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.json"},{"id":540,"kind":2097152,"name":"_settings","url":"classes/foxify.html#_settings","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":541,"kind":32,"name":"env","url":"classes/foxify.html#_settings.env","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":542,"kind":32,"name":"url","url":"classes/foxify.html#_settings.url","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":543,"kind":32,"name":"port","url":"classes/foxify.html#_settings.port","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":544,"kind":32,"name":"workers","url":"classes/foxify.html#_settings.workers","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":545,"kind":2097152,"name":"subdomain","url":"classes/foxify.html#_settings.subdomain","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":546,"kind":32,"name":"offset","url":"classes/foxify.html#_settings.subdomain.offset","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.subdomain"},{"id":547,"kind":2097152,"name":"https","url":"classes/foxify.html#_settings.https-1","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":548,"kind":32,"name":"cert","url":"classes/foxify.html#_settings.https-1.cert","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.https"},{"id":549,"kind":32,"name":"key","url":"classes/foxify.html#_settings.https-1.key","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.https"},{"id":550,"kind":2097152,"name":"json","url":"classes/foxify.html#_settings.json-1","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":551,"kind":32,"name":"replacer","url":"classes/foxify.html#_settings.json-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.json"},{"id":552,"kind":32,"name":"spaces","url":"classes/foxify.html#_settings.json-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.json"},{"id":553,"kind":2097152,"name":"query","url":"classes/foxify.html#_settings.query","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":554,"kind":32,"name":"parser","url":"classes/foxify.html#_settings.query.parser","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.query"},{"id":555,"kind":1024,"name":"_router","url":"classes/foxify.html#_router","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":556,"kind":1024,"name":"_view","url":"classes/foxify.html#_view","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":557,"kind":512,"name":"constructor","url":"classes/foxify.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Foxify"},{"id":558,"kind":2048,"name":"_set","url":"classes/foxify.html#_set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":559,"kind":2048,"name":"_use","url":"classes/foxify.html#_use","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":560,"kind":2048,"name":"enable","url":"classes/foxify.html#enable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":561,"kind":2048,"name":"disable","url":"classes/foxify.html#disable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":562,"kind":2048,"name":"enabled","url":"classes/foxify.html#enabled","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":563,"kind":2048,"name":"disabled","url":"classes/foxify.html#disabled","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":564,"kind":2048,"name":"set","url":"classes/foxify.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":565,"kind":2048,"name":"engine","url":"classes/foxify.html#engine","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":566,"kind":2048,"name":"start","url":"classes/foxify.html#start","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":567,"kind":256,"name":"Options","url":"interfaces/foxify.options.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Foxify"},{"id":568,"kind":1024,"name":"https","url":"interfaces/foxify.options.html#https","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":569,"kind":1024,"name":"x-powered-by","url":"interfaces/foxify.options.html#x_powered_by","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":570,"kind":1024,"name":"routing","url":"interfaces/foxify.options.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":571,"kind":65536,"name":"__type","url":"interfaces/foxify.options.html#routing.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Options.routing"},{"id":572,"kind":32,"name":"strict","url":"interfaces/foxify.options.html#routing.__type-1.strict","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.routing.__type"},{"id":573,"kind":32,"name":"sensitive","url":"interfaces/foxify.options.html#routing.__type-1.sensitive","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.routing.__type"},{"id":574,"kind":1024,"name":"json","url":"interfaces/foxify.options.html#json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":575,"kind":65536,"name":"__type","url":"interfaces/foxify.options.html#json.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Options.json"},{"id":576,"kind":32,"name":"escape","url":"interfaces/foxify.options.html#json.__type.escape","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.json.__type"},{"id":577,"kind":256,"name":"Settings","url":"interfaces/foxify.settings.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Foxify"},{"id":578,"kind":1024,"name":"env","url":"interfaces/foxify.settings.html#env","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":579,"kind":1024,"name":"url","url":"interfaces/foxify.settings.html#url","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":580,"kind":1024,"name":"port","url":"interfaces/foxify.settings.html#port","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":581,"kind":1024,"name":"workers","url":"interfaces/foxify.settings.html#workers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":582,"kind":1024,"name":"subdomain","url":"interfaces/foxify.settings.html#subdomain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":583,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#subdomain.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.subdomain"},{"id":584,"kind":32,"name":"offset","url":"interfaces/foxify.settings.html#subdomain.__type-3.offset","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.subdomain.__type"},{"id":585,"kind":1024,"name":"https","url":"interfaces/foxify.settings.html#https","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":586,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#https.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.https"},{"id":587,"kind":32,"name":"cert","url":"interfaces/foxify.settings.html#https.__type.cert","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.https.__type"},{"id":588,"kind":32,"name":"key","url":"interfaces/foxify.settings.html#https.__type.key","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.https.__type"},{"id":589,"kind":1024,"name":"json","url":"interfaces/foxify.settings.html#json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":590,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#json.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.json"},{"id":591,"kind":32,"name":"replacer","url":"interfaces/foxify.settings.html#json.__type-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.json.__type"},{"id":592,"kind":32,"name":"spaces","url":"interfaces/foxify.settings.html#json.__type-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.json.__type"},{"id":593,"kind":1024,"name":"query","url":"interfaces/foxify.settings.html#query","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":594,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#query.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.query"},{"id":595,"kind":32,"name":"parser","url":"interfaces/foxify.settings.html#query.__type-2.parser","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.query.__type"},{"id":596,"kind":4194304,"name":"Request","url":"classes/foxify.html#request","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":597,"kind":4194304,"name":"Response","url":"classes/foxify.html#response","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":598,"kind":128,"name":"Server","url":"classes/server.html","classes":"tsd-kind-class"},{"id":599,"kind":1024,"name":"_instance","url":"classes/server.html#_instance","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Server"},{"id":600,"kind":1024,"name":"_host","url":"classes/server.html#_host","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":601,"kind":1024,"name":"_port","url":"classes/server.html#_port","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":602,"kind":1024,"name":"_listening","url":"classes/server.html#_listening","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":603,"kind":512,"name":"constructor","url":"classes/server.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Server"},{"id":604,"kind":262144,"name":"listening","url":"classes/server.html#listening","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":605,"kind":2048,"name":"start","url":"classes/server.html#start","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":606,"kind":2048,"name":"stop","url":"classes/server.html#stop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":607,"kind":2048,"name":"reload","url":"classes/server.html#reload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":608,"kind":256,"name":"Options","url":"interfaces/server.options.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Server"},{"id":609,"kind":1024,"name":"https","url":"interfaces/server.options.html#https","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":610,"kind":1024,"name":"x-powered-by","url":"interfaces/server.options.html#x_powered_by","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":611,"kind":1024,"name":"routing","url":"interfaces/server.options.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":612,"kind":65536,"name":"__type","url":"interfaces/server.options.html#routing.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Options.routing"},{"id":613,"kind":32,"name":"strict","url":"interfaces/server.options.html#routing.__type-1.strict","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.routing.__type"},{"id":614,"kind":32,"name":"sensitive","url":"interfaces/server.options.html#routing.__type-1.sensitive","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.routing.__type"},{"id":615,"kind":1024,"name":"json","url":"interfaces/server.options.html#json","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":616,"kind":65536,"name":"__type","url":"interfaces/server.options.html#json.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Options.json"},{"id":617,"kind":32,"name":"escape","url":"interfaces/server.options.html#json.__type.escape","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.json.__type"},{"id":618,"kind":256,"name":"Settings","url":"interfaces/server.settings.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Server"},{"id":619,"kind":1024,"name":"view","url":"interfaces/server.settings.html#view","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Server.Settings"},{"id":620,"kind":1024,"name":"env","url":"interfaces/server.settings.html#env","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":621,"kind":1024,"name":"url","url":"interfaces/server.settings.html#url","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":622,"kind":1024,"name":"port","url":"interfaces/server.settings.html#port","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":623,"kind":1024,"name":"workers","url":"interfaces/server.settings.html#workers","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":624,"kind":1024,"name":"subdomain","url":"interfaces/server.settings.html#subdomain","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":625,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#subdomain.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.subdomain"},{"id":626,"kind":32,"name":"offset","url":"interfaces/server.settings.html#subdomain.__type-3.offset","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.subdomain.__type"},{"id":627,"kind":1024,"name":"https","url":"interfaces/server.settings.html#https","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":628,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#https.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.https"},{"id":629,"kind":32,"name":"cert","url":"interfaces/server.settings.html#https.__type.cert","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.https.__type"},{"id":630,"kind":32,"name":"key","url":"interfaces/server.settings.html#https.__type.key","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.https.__type"},{"id":631,"kind":1024,"name":"json","url":"interfaces/server.settings.html#json","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":632,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#json.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.json"},{"id":633,"kind":32,"name":"replacer","url":"interfaces/server.settings.html#json.__type-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.json.__type"},{"id":634,"kind":32,"name":"spaces","url":"interfaces/server.settings.html#json.__type-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.json.__type"},{"id":635,"kind":1024,"name":"query","url":"interfaces/server.settings.html#query","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":636,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#query.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.query"},{"id":637,"kind":32,"name":"parser","url":"interfaces/server.settings.html#query.__type-2.parser","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.query.__type"},{"id":638,"kind":4194304,"name":"Listener","url":"classes/server.html#listener","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Server"},{"id":639,"kind":65536,"name":"__type","url":"classes/server.html#listener.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Server.Listener"},{"id":640,"kind":4194304,"name":"Callback","url":"classes/server.html#callback","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Server"},{"id":641,"kind":65536,"name":"__type","url":"classes/server.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Server.Callback"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","2097152":"Object literal","4194304":"Type alias"},"rows":[{"id":0,"kind":2097152,"name":"HTTP","url":"globals.html#http","classes":"tsd-kind-object-literal"},{"id":1,"kind":32,"name":"CONTINUE","url":"globals.html#http.continue","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":2,"kind":32,"name":"SWITCHING_PROTOCOL","url":"globals.html#http.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":3,"kind":32,"name":"PROCESSING","url":"globals.html#http.processing","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":4,"kind":32,"name":"EARLY_HINTS","url":"globals.html#http.early_hints","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":5,"kind":32,"name":"OK","url":"globals.html#http.ok","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":6,"kind":32,"name":"CREATED","url":"globals.html#http.created","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":7,"kind":32,"name":"ACCEPTED","url":"globals.html#http.accepted","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":8,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"globals.html#http.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":9,"kind":32,"name":"NO_CONTENT","url":"globals.html#http.no_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":10,"kind":32,"name":"RESET_CONTENT","url":"globals.html#http.reset_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":11,"kind":32,"name":"PARTIAL_CONTENT","url":"globals.html#http.partial_content","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":12,"kind":32,"name":"MULTI_STATUS","url":"globals.html#http.multi_status","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":13,"kind":32,"name":"ALREADY_REPORTED","url":"globals.html#http.already_reported","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":14,"kind":32,"name":"IM_USED","url":"globals.html#http.im_used","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":15,"kind":32,"name":"MULTIPLE_CHOICES","url":"globals.html#http.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":16,"kind":32,"name":"MOVED_PERMANENTLY","url":"globals.html#http.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":17,"kind":32,"name":"FOUND","url":"globals.html#http.found","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":18,"kind":32,"name":"SEE_OTHER","url":"globals.html#http.see_other","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":19,"kind":32,"name":"NOT_MODIFIED","url":"globals.html#http.not_modified","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":20,"kind":32,"name":"USE_PROXY","url":"globals.html#http.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":21,"kind":32,"name":"SWITCH_PROXY","url":"globals.html#http.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":22,"kind":32,"name":"TEMPORARY_REDIRECT","url":"globals.html#http.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":23,"kind":32,"name":"PERMANENT_REDIRECT","url":"globals.html#http.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":24,"kind":32,"name":"BAD_REQUEST","url":"globals.html#http.bad_request","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":25,"kind":32,"name":"UNAUTHORIZED","url":"globals.html#http.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":26,"kind":32,"name":"PAYMENT_REQUIRED","url":"globals.html#http.payment_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":27,"kind":32,"name":"FORBIDEN","url":"globals.html#http.forbiden","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":28,"kind":32,"name":"NOT_FOUND","url":"globals.html#http.not_found","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":29,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"globals.html#http.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":30,"kind":32,"name":"NOT_ACCEPTABLE","url":"globals.html#http.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":31,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"globals.html#http.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":32,"kind":32,"name":"REQUEST_TIMEOUT","url":"globals.html#http.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":33,"kind":32,"name":"CONFLICT","url":"globals.html#http.conflict","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":34,"kind":32,"name":"GONE","url":"globals.html#http.gone","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":35,"kind":32,"name":"LENGTH_REQUIRED","url":"globals.html#http.length_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":36,"kind":32,"name":"PRECONDITION_FAILED","url":"globals.html#http.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":37,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"globals.html#http.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":38,"kind":32,"name":"URI_TOO_LONG","url":"globals.html#http.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":39,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"globals.html#http.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":40,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"globals.html#http.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":41,"kind":32,"name":"EXPECTATION_FAILED","url":"globals.html#http.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":42,"kind":32,"name":"IM_A_TEAPOT","url":"globals.html#http.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":43,"kind":32,"name":"MISDIRECET_REQUEST","url":"globals.html#http.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":44,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"globals.html#http.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":45,"kind":32,"name":"LOCKED","url":"globals.html#http.locked","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":46,"kind":32,"name":"FAILED_DEPENDENCY","url":"globals.html#http.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":47,"kind":32,"name":"UPGRADE_REQUIRED","url":"globals.html#http.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":48,"kind":32,"name":"PRECONDITION_REQUIRED","url":"globals.html#http.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":49,"kind":32,"name":"TOO_MANY_REQUESTS","url":"globals.html#http.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":50,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"globals.html#http.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":51,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"globals.html#http.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":52,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"globals.html#http.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":53,"kind":32,"name":"NOT_IMPLEMENTED","url":"globals.html#http.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":54,"kind":32,"name":"BAD_GATEWAY","url":"globals.html#http.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":55,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"globals.html#http.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":56,"kind":32,"name":"GATEWAY_TIMEOUT","url":"globals.html#http.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":57,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"globals.html#http.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":58,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"globals.html#http.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":59,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"globals.html#http.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":60,"kind":32,"name":"LOOP_DETECTED","url":"globals.html#http.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":61,"kind":32,"name":"NOT_EXTENDED","url":"globals.html#http.not_extended","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":62,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"globals.html#http.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"HTTP"},{"id":63,"kind":64,"name":"mixins","url":"globals.html#mixins","classes":"tsd-kind-function"},{"id":64,"kind":64,"name":"define","url":"globals.html#define","classes":"tsd-kind-function"},{"id":65,"kind":128,"name":"Engine","url":"classes/engine.html","classes":"tsd-kind-class"},{"id":66,"kind":1024,"name":"_path","url":"classes/engine.html#_path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":67,"kind":1024,"name":"_ext","url":"classes/engine.html#_ext","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":68,"kind":1024,"name":"_handler","url":"classes/engine.html#_handler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Engine"},{"id":69,"kind":65536,"name":"__type","url":"classes/engine.html#_handler.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Engine._handler"},{"id":70,"kind":512,"name":"constructor","url":"classes/engine.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Engine"},{"id":71,"kind":2048,"name":"render","url":"classes/engine.html#render","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Engine"},{"id":72,"kind":4194304,"name":"Callback","url":"classes/engine.html#callback","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Engine"},{"id":73,"kind":65536,"name":"__type","url":"classes/engine.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Engine.Callback"},{"id":74,"kind":128,"name":"Response","url":"classes/response.html","classes":"tsd-kind-class"},{"id":75,"kind":2048,"name":"type","url":"classes/response.html#type","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":76,"kind":2048,"name":"set","url":"classes/response.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":77,"kind":2048,"name":"get","url":"classes/response.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":78,"kind":262144,"name":"fresh","url":"classes/response.html#fresh","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Response"},{"id":79,"kind":262144,"name":"stale","url":"classes/response.html#stale","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Response"},{"id":80,"kind":2048,"name":"append","url":"classes/response.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":81,"kind":2048,"name":"attachment","url":"classes/response.html#attachment","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":82,"kind":2048,"name":"clearCookie","url":"classes/response.html#clearcookie","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":83,"kind":2048,"name":"contentType","url":"classes/response.html#contenttype","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":84,"kind":2048,"name":"cookie","url":"classes/response.html#cookie","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":85,"kind":2048,"name":"download","url":"classes/response.html#download","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":86,"kind":2048,"name":"format","url":"classes/response.html#format","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":87,"kind":2048,"name":"header","url":"classes/response.html#header","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":88,"kind":2048,"name":"json","url":"classes/response.html#json","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":89,"kind":2048,"name":"jsonp","url":"classes/response.html#jsonp","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":90,"kind":2048,"name":"links","url":"classes/response.html#links","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":91,"kind":2048,"name":"location","url":"classes/response.html#location","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":92,"kind":2048,"name":"redirect","url":"classes/response.html#redirect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":93,"kind":2048,"name":"render","url":"classes/response.html#render","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":94,"kind":2048,"name":"send","url":"classes/response.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":95,"kind":2048,"name":"sendFile","url":"classes/response.html#sendfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":96,"kind":2048,"name":"sendStatus","url":"classes/response.html#sendstatus","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":97,"kind":2048,"name":"status","url":"classes/response.html#status","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":98,"kind":2048,"name":"vary","url":"classes/response.html#vary","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Response"},{"id":99,"kind":1024,"name":"statusCode","url":"classes/response.html#statuscode","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":100,"kind":1024,"name":"statusMessage","url":"classes/response.html#statusmessage","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":101,"kind":512,"name":"constructor","url":"classes/response.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":102,"kind":2048,"name":"assignSocket","url":"classes/response.html#assignsocket","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":103,"kind":2048,"name":"detachSocket","url":"classes/response.html#detachsocket","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":104,"kind":2048,"name":"writeContinue","url":"classes/response.html#writecontinue","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":105,"kind":2048,"name":"writeHead","url":"classes/response.html#writehead","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":106,"kind":1024,"name":"upgrading","url":"classes/response.html#upgrading","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":107,"kind":1024,"name":"chunkedEncoding","url":"classes/response.html#chunkedencoding","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":108,"kind":1024,"name":"shouldKeepAlive","url":"classes/response.html#shouldkeepalive","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":109,"kind":1024,"name":"useChunkedEncodingByDefault","url":"classes/response.html#usechunkedencodingbydefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":110,"kind":1024,"name":"sendDate","url":"classes/response.html#senddate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":111,"kind":1024,"name":"finished","url":"classes/response.html#finished","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":112,"kind":1024,"name":"headersSent","url":"classes/response.html#headerssent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":113,"kind":1024,"name":"connection","url":"classes/response.html#connection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":114,"kind":2048,"name":"setTimeout","url":"classes/response.html#settimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":115,"kind":2048,"name":"setHeader","url":"classes/response.html#setheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":116,"kind":2048,"name":"getHeader","url":"classes/response.html#getheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":117,"kind":2048,"name":"getHeaders","url":"classes/response.html#getheaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":118,"kind":2048,"name":"getHeaderNames","url":"classes/response.html#getheadernames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":119,"kind":2048,"name":"hasHeader","url":"classes/response.html#hasheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":120,"kind":2048,"name":"removeHeader","url":"classes/response.html#removeheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":121,"kind":2048,"name":"addTrailers","url":"classes/response.html#addtrailers","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":122,"kind":2048,"name":"flushHeaders","url":"classes/response.html#flushheaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":123,"kind":1024,"name":"writable","url":"classes/response.html#writable","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":124,"kind":1024,"name":"writableHighWaterMark","url":"classes/response.html#writablehighwatermark","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":125,"kind":1024,"name":"writableLength","url":"classes/response.html#writablelength","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":126,"kind":2048,"name":"_write","url":"classes/response.html#_write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":127,"kind":2048,"name":"_writev","url":"classes/response.html#_writev","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":128,"kind":2048,"name":"_destroy","url":"classes/response.html#_destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":129,"kind":2048,"name":"_final","url":"classes/response.html#_final","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":130,"kind":2048,"name":"write","url":"classes/response.html#write","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":131,"kind":2048,"name":"setDefaultEncoding","url":"classes/response.html#setdefaultencoding","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":132,"kind":2048,"name":"end","url":"classes/response.html#end","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":133,"kind":2048,"name":"cork","url":"classes/response.html#cork","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":134,"kind":2048,"name":"uncork","url":"classes/response.html#uncork","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":135,"kind":2048,"name":"destroy","url":"classes/response.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Response"},{"id":136,"kind":2048,"name":"addListener","url":"classes/response.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":137,"kind":2048,"name":"emit","url":"classes/response.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":138,"kind":2048,"name":"on","url":"classes/response.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":139,"kind":2048,"name":"once","url":"classes/response.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":140,"kind":2048,"name":"prependListener","url":"classes/response.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":141,"kind":2048,"name":"prependOnceListener","url":"classes/response.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":142,"kind":2048,"name":"removeListener","url":"classes/response.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":143,"kind":2048,"name":"pipe","url":"classes/response.html#pipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Response"},{"id":144,"kind":2048,"name":"listenerCount","url":"classes/response.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Response"},{"id":145,"kind":1024,"name":"defaultMaxListeners","url":"classes/response.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Response"},{"id":146,"kind":2048,"name":"off","url":"classes/response.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":147,"kind":2048,"name":"removeAllListeners","url":"classes/response.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":148,"kind":2048,"name":"setMaxListeners","url":"classes/response.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":149,"kind":2048,"name":"getMaxListeners","url":"classes/response.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":150,"kind":2048,"name":"listeners","url":"classes/response.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":151,"kind":2048,"name":"rawListeners","url":"classes/response.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":152,"kind":2048,"name":"eventNames","url":"classes/response.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":153,"kind":2048,"name":"listenerCount","url":"classes/response.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Response"},{"id":154,"kind":32,"name":"resolve","url":"globals.html#resolve","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":155,"kind":32,"name":"STATUS_CODES","url":"globals.html#status_codes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":156,"kind":65536,"name":"__type","url":"globals.html#status_codes.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"STATUS_CODES"},{"id":157,"kind":32,"name":"charsetRegExp","url":"globals.html#charsetregexp","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":158,"kind":64,"name":"setCharset","url":"globals.html#setcharset","classes":"tsd-kind-function tsd-is-not-exported"},{"id":159,"kind":64,"name":"stringify","url":"globals.html#stringify","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":160,"kind":64,"name":"isAbsolute","url":"globals.html#isabsolute","classes":"tsd-kind-function tsd-is-not-exported"},{"id":161,"kind":64,"name":"sendfile","url":"globals.html#sendfile","classes":"tsd-kind-function tsd-is-not-exported"},{"id":162,"kind":64,"name":"acceptParams","url":"globals.html#acceptparams","classes":"tsd-kind-function tsd-is-not-exported"},{"id":163,"kind":64,"name":"normalizeType","url":"globals.html#normalizetype","classes":"tsd-kind-function tsd-is-not-exported"},{"id":164,"kind":64,"name":"normalizeTypes","url":"globals.html#normalizetypes","classes":"tsd-kind-function tsd-is-not-exported"},{"id":165,"kind":128,"name":"Request","url":"classes/request.html","classes":"tsd-kind-class"},{"id":166,"kind":2048,"name":"head","url":"classes/request.html#head","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":167,"kind":1024,"name":"query","url":"classes/request.html#query","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Request"},{"id":168,"kind":1024,"name":"params","url":"classes/request.html#params","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Request"},{"id":169,"kind":262144,"name":"hostname","url":"classes/request.html#hostname","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":170,"kind":262144,"name":"path","url":"classes/request.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":171,"kind":262144,"name":"subdomains","url":"classes/request.html#subdomains","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":172,"kind":262144,"name":"xhr","url":"classes/request.html#xhr","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Request"},{"id":173,"kind":2048,"name":"accepts","url":"classes/request.html#accepts","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":174,"kind":2048,"name":"acceptsCharsets","url":"classes/request.html#acceptscharsets","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":175,"kind":2048,"name":"acceptsEncodings","url":"classes/request.html#acceptsencodings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":176,"kind":2048,"name":"acceptsLanguages","url":"classes/request.html#acceptslanguages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":177,"kind":2048,"name":"get","url":"classes/request.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":178,"kind":2048,"name":"is","url":"classes/request.html#is","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":179,"kind":2048,"name":"range","url":"classes/request.html#range","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Request"},{"id":180,"kind":512,"name":"constructor","url":"classes/request.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":181,"kind":1024,"name":"httpVersion","url":"classes/request.html#httpversion","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":182,"kind":1024,"name":"httpVersionMajor","url":"classes/request.html#httpversionmajor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":183,"kind":1024,"name":"httpVersionMinor","url":"classes/request.html#httpversionminor","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":184,"kind":1024,"name":"connection","url":"classes/request.html#connection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":185,"kind":1024,"name":"headers","url":"classes/request.html#headers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":186,"kind":1024,"name":"rawHeaders","url":"classes/request.html#rawheaders","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":187,"kind":1024,"name":"trailers","url":"classes/request.html#trailers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":188,"kind":65536,"name":"__type","url":"classes/request.html#trailers.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Request.trailers"},{"id":189,"kind":1024,"name":"rawTrailers","url":"classes/request.html#rawtrailers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":190,"kind":2048,"name":"setTimeout","url":"classes/request.html#settimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":191,"kind":1024,"name":"method","url":"classes/request.html#method","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":192,"kind":1024,"name":"url","url":"classes/request.html#url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":193,"kind":1024,"name":"statusCode","url":"classes/request.html#statuscode","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":194,"kind":1024,"name":"statusMessage","url":"classes/request.html#statusmessage","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":195,"kind":1024,"name":"socket","url":"classes/request.html#socket","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":196,"kind":2048,"name":"destroy","url":"classes/request.html#destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":197,"kind":1024,"name":"readable","url":"classes/request.html#readable","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":198,"kind":1024,"name":"readableHighWaterMark","url":"classes/request.html#readablehighwatermark","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":199,"kind":1024,"name":"readableLength","url":"classes/request.html#readablelength","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":200,"kind":2048,"name":"_read","url":"classes/request.html#_read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":201,"kind":2048,"name":"read","url":"classes/request.html#read","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":202,"kind":2048,"name":"setEncoding","url":"classes/request.html#setencoding","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":203,"kind":2048,"name":"pause","url":"classes/request.html#pause","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":204,"kind":2048,"name":"resume","url":"classes/request.html#resume","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":205,"kind":2048,"name":"isPaused","url":"classes/request.html#ispaused","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":206,"kind":2048,"name":"unpipe","url":"classes/request.html#unpipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":207,"kind":2048,"name":"unshift","url":"classes/request.html#unshift","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":208,"kind":2048,"name":"wrap","url":"classes/request.html#wrap","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":209,"kind":2048,"name":"push","url":"classes/request.html#push","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":210,"kind":2048,"name":"_destroy","url":"classes/request.html#_destroy","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":211,"kind":2048,"name":"addListener","url":"classes/request.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":212,"kind":2048,"name":"emit","url":"classes/request.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":213,"kind":2048,"name":"on","url":"classes/request.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":214,"kind":2048,"name":"once","url":"classes/request.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":215,"kind":2048,"name":"prependListener","url":"classes/request.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":216,"kind":2048,"name":"prependOnceListener","url":"classes/request.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":217,"kind":2048,"name":"removeListener","url":"classes/request.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":218,"kind":2048,"name":"__@asyncIterator","url":"classes/request.html#___asynciterator","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Request"},{"id":219,"kind":2048,"name":"pipe","url":"classes/request.html#pipe","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Request"},{"id":220,"kind":2048,"name":"listenerCount","url":"classes/request.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Request"},{"id":221,"kind":1024,"name":"defaultMaxListeners","url":"classes/request.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Request"},{"id":222,"kind":2048,"name":"off","url":"classes/request.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":223,"kind":2048,"name":"removeAllListeners","url":"classes/request.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":224,"kind":2048,"name":"setMaxListeners","url":"classes/request.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":225,"kind":2048,"name":"getMaxListeners","url":"classes/request.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":226,"kind":2048,"name":"listeners","url":"classes/request.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":227,"kind":2048,"name":"rawListeners","url":"classes/request.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":228,"kind":2048,"name":"eventNames","url":"classes/request.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":229,"kind":2048,"name":"listenerCount","url":"classes/request.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"Request"},{"id":230,"kind":128,"name":"HttpException","url":"classes/httpexception.html","classes":"tsd-kind-class"},{"id":231,"kind":2048,"name":"isHttpException","url":"classes/httpexception.html#ishttpexception","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"HttpException"},{"id":232,"kind":1024,"name":"code","url":"classes/httpexception.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"HttpException"},{"id":233,"kind":1024,"name":"errors","url":"classes/httpexception.html#errors","classes":"tsd-kind-property tsd-parent-kind-class","parent":"HttpException"},{"id":234,"kind":512,"name":"constructor","url":"classes/httpexception.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"HttpException"},{"id":235,"kind":2048,"name":"handle","url":"classes/httpexception.html#handle","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"HttpException"},{"id":236,"kind":1024,"name":"name","url":"classes/httpexception.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"HttpException"},{"id":237,"kind":1024,"name":"message","url":"classes/httpexception.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"HttpException"},{"id":238,"kind":1024,"name":"stack","url":"classes/httpexception.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"HttpException"},{"id":239,"kind":1024,"name":"Error","url":"classes/httpexception.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"HttpException"},{"id":240,"kind":32,"name":"eventEmitter","url":"globals.html#eventemitter","classes":"tsd-kind-variable"},{"id":241,"kind":128,"name":"Encapsulation","url":"classes/encapsulation.html","classes":"tsd-kind-class"},{"id":242,"kind":1024,"name":"_fn","url":"classes/encapsulation.html#_fn","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Encapsulation"},{"id":243,"kind":65536,"name":"__type","url":"classes/encapsulation.html#_fn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Encapsulation._fn"},{"id":244,"kind":512,"name":"constructor","url":"classes/encapsulation.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Encapsulation"},{"id":245,"kind":2048,"name":"run","url":"classes/encapsulation.html#run","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Encapsulation"},{"id":246,"kind":64,"name":"handle","url":"globals.html#handle","classes":"tsd-kind-function tsd-is-not-exported"},{"id":247,"kind":128,"name":"EventEmitter","url":"classes/eventemitter.html","classes":"tsd-kind-class"},{"id":248,"kind":2048,"name":"on","url":"classes/eventemitter.html#on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EventEmitter"},{"id":249,"kind":2048,"name":"emit","url":"classes/eventemitter.html#emit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EventEmitter"},{"id":250,"kind":2048,"name":"addListener","url":"classes/eventemitter.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":251,"kind":2048,"name":"once","url":"classes/eventemitter.html#once","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":252,"kind":2048,"name":"removeListener","url":"classes/eventemitter.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":253,"kind":2048,"name":"off","url":"classes/eventemitter.html#off","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":254,"kind":2048,"name":"removeAllListeners","url":"classes/eventemitter.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":255,"kind":2048,"name":"setMaxListeners","url":"classes/eventemitter.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":256,"kind":2048,"name":"getMaxListeners","url":"classes/eventemitter.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":257,"kind":2048,"name":"listeners","url":"classes/eventemitter.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":258,"kind":2048,"name":"rawListeners","url":"classes/eventemitter.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":259,"kind":2048,"name":"listenerCount","url":"classes/eventemitter.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":260,"kind":2048,"name":"prependListener","url":"classes/eventemitter.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":261,"kind":2048,"name":"prependOnceListener","url":"classes/eventemitter.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":262,"kind":2048,"name":"eventNames","url":"classes/eventemitter.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EventEmitter"},{"id":263,"kind":2,"name":"internal","url":"modules/eventemitter.internal.html","classes":"tsd-kind-module tsd-parent-kind-class","parent":"EventEmitter"},{"id":264,"kind":128,"name":"EventEmitter","url":"classes/eventemitter.internal.eventemitter.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"EventEmitter.internal"},{"id":265,"kind":2048,"name":"listenerCount","url":"classes/eventemitter.internal.eventemitter.html#listenercount-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"EventEmitter.internal.EventEmitter"},{"id":266,"kind":1024,"name":"defaultMaxListeners","url":"classes/eventemitter.internal.eventemitter.html#defaultmaxlisteners","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"EventEmitter.internal.EventEmitter"},{"id":267,"kind":2048,"name":"addListener","url":"classes/eventemitter.internal.eventemitter.html#addlistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":268,"kind":2048,"name":"on","url":"classes/eventemitter.internal.eventemitter.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":269,"kind":2048,"name":"once","url":"classes/eventemitter.internal.eventemitter.html#once","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":270,"kind":2048,"name":"prependListener","url":"classes/eventemitter.internal.eventemitter.html#prependlistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":271,"kind":2048,"name":"prependOnceListener","url":"classes/eventemitter.internal.eventemitter.html#prependoncelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":272,"kind":2048,"name":"removeListener","url":"classes/eventemitter.internal.eventemitter.html#removelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":273,"kind":2048,"name":"off","url":"classes/eventemitter.internal.eventemitter.html#off","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":274,"kind":2048,"name":"removeAllListeners","url":"classes/eventemitter.internal.eventemitter.html#removealllisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":275,"kind":2048,"name":"setMaxListeners","url":"classes/eventemitter.internal.eventemitter.html#setmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":276,"kind":2048,"name":"getMaxListeners","url":"classes/eventemitter.internal.eventemitter.html#getmaxlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":277,"kind":2048,"name":"listeners","url":"classes/eventemitter.internal.eventemitter.html#listeners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":278,"kind":2048,"name":"rawListeners","url":"classes/eventemitter.internal.eventemitter.html#rawlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":279,"kind":2048,"name":"emit","url":"classes/eventemitter.internal.eventemitter.html#emit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":280,"kind":2048,"name":"eventNames","url":"classes/eventemitter.internal.eventemitter.html#eventnames","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":281,"kind":2048,"name":"listenerCount","url":"classes/eventemitter.internal.eventemitter.html#listenercount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EventEmitter.internal.EventEmitter"},{"id":282,"kind":32,"name":"ERRORS","url":"globals.html#errors","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":283,"kind":32,"name":"EVENTS","url":"globals.html#events","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":284,"kind":4194304,"name":"ErrorEvent","url":"classes/eventemitter.html#errorevent","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"EventEmitter"},{"id":285,"kind":4194304,"name":"ErrorListener","url":"classes/eventemitter.html#errorlistener","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"EventEmitter"},{"id":286,"kind":65536,"name":"__type","url":"classes/eventemitter.html#errorlistener.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"EventEmitter.ErrorListener"},{"id":287,"kind":4194304,"name":"ExceptionListener","url":"classes/eventemitter.html#exceptionlistener","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"EventEmitter"},{"id":288,"kind":65536,"name":"__type","url":"classes/eventemitter.html#exceptionlistener.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"EventEmitter.ExceptionListener"},{"id":289,"kind":4194304,"name":"RejectionListener","url":"classes/eventemitter.html#rejectionlistener","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"EventEmitter"},{"id":290,"kind":65536,"name":"__type","url":"classes/eventemitter.html#rejectionlistener.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"EventEmitter.RejectionListener"},{"id":291,"kind":4194304,"name":"Event","url":"classes/eventemitter.html#event","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"EventEmitter"},{"id":292,"kind":2,"name":"__global","url":"modules/__global.html","classes":"tsd-kind-module tsd-is-not-exported"},{"id":293,"kind":2,"name":"NodeJS","url":"modules/__global.nodejs.html","classes":"tsd-kind-module tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":294,"kind":256,"name":"Global","url":"interfaces/__global.nodejs.global.html","classes":"tsd-kind-interface tsd-parent-kind-module tsd-is-not-exported","parent":"__global.NodeJS"},{"id":295,"kind":1024,"name":"HttpException","url":"interfaces/__global.nodejs.global.html#httpexception","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"__global.NodeJS.Global"},{"id":296,"kind":1024,"name":"HTTP","url":"interfaces/__global.nodejs.global.html#http","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"__global.NodeJS.Global"},{"id":297,"kind":65536,"name":"__type","url":"interfaces/__global.nodejs.global.html#http.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP"},{"id":298,"kind":32,"name":"CONTINUE","url":"interfaces/__global.nodejs.global.html#http.__type.continue","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":299,"kind":32,"name":"SWITCHING_PROTOCOL","url":"interfaces/__global.nodejs.global.html#http.__type.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":300,"kind":32,"name":"PROCESSING","url":"interfaces/__global.nodejs.global.html#http.__type.processing","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":301,"kind":32,"name":"EARLY_HINTS","url":"interfaces/__global.nodejs.global.html#http.__type.early_hints","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":302,"kind":32,"name":"OK","url":"interfaces/__global.nodejs.global.html#http.__type.ok","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":303,"kind":32,"name":"CREATED","url":"interfaces/__global.nodejs.global.html#http.__type.created","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":304,"kind":32,"name":"ACCEPTED","url":"interfaces/__global.nodejs.global.html#http.__type.accepted","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":305,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"interfaces/__global.nodejs.global.html#http.__type.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":306,"kind":32,"name":"NO_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.no_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":307,"kind":32,"name":"RESET_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.reset_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":308,"kind":32,"name":"PARTIAL_CONTENT","url":"interfaces/__global.nodejs.global.html#http.__type.partial_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":309,"kind":32,"name":"MULTI_STATUS","url":"interfaces/__global.nodejs.global.html#http.__type.multi_status","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":310,"kind":32,"name":"ALREADY_REPORTED","url":"interfaces/__global.nodejs.global.html#http.__type.already_reported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":311,"kind":32,"name":"IM_USED","url":"interfaces/__global.nodejs.global.html#http.__type.im_used","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":312,"kind":32,"name":"MULTIPLE_CHOICES","url":"interfaces/__global.nodejs.global.html#http.__type.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":313,"kind":32,"name":"MOVED_PERMANENTLY","url":"interfaces/__global.nodejs.global.html#http.__type.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":314,"kind":32,"name":"FOUND","url":"interfaces/__global.nodejs.global.html#http.__type.found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":315,"kind":32,"name":"SEE_OTHER","url":"interfaces/__global.nodejs.global.html#http.__type.see_other","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":316,"kind":32,"name":"NOT_MODIFIED","url":"interfaces/__global.nodejs.global.html#http.__type.not_modified","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":317,"kind":32,"name":"USE_PROXY","url":"interfaces/__global.nodejs.global.html#http.__type.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":318,"kind":32,"name":"SWITCH_PROXY","url":"interfaces/__global.nodejs.global.html#http.__type.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":319,"kind":32,"name":"TEMPORARY_REDIRECT","url":"interfaces/__global.nodejs.global.html#http.__type.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":320,"kind":32,"name":"PERMANENT_REDIRECT","url":"interfaces/__global.nodejs.global.html#http.__type.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":321,"kind":32,"name":"BAD_REQUEST","url":"interfaces/__global.nodejs.global.html#http.__type.bad_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":322,"kind":32,"name":"UNAUTHORIZED","url":"interfaces/__global.nodejs.global.html#http.__type.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":323,"kind":32,"name":"PAYMENT_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.payment_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":324,"kind":32,"name":"FORBIDEN","url":"interfaces/__global.nodejs.global.html#http.__type.forbiden","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":325,"kind":32,"name":"NOT_FOUND","url":"interfaces/__global.nodejs.global.html#http.__type.not_found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":326,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"interfaces/__global.nodejs.global.html#http.__type.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":327,"kind":32,"name":"NOT_ACCEPTABLE","url":"interfaces/__global.nodejs.global.html#http.__type.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":328,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":329,"kind":32,"name":"REQUEST_TIMEOUT","url":"interfaces/__global.nodejs.global.html#http.__type.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":330,"kind":32,"name":"CONFLICT","url":"interfaces/__global.nodejs.global.html#http.__type.conflict","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":331,"kind":32,"name":"GONE","url":"interfaces/__global.nodejs.global.html#http.__type.gone","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":332,"kind":32,"name":"LENGTH_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.length_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":333,"kind":32,"name":"PRECONDITION_FAILED","url":"interfaces/__global.nodejs.global.html#http.__type.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":334,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"interfaces/__global.nodejs.global.html#http.__type.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":335,"kind":32,"name":"URI_TOO_LONG","url":"interfaces/__global.nodejs.global.html#http.__type.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":336,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"interfaces/__global.nodejs.global.html#http.__type.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":337,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"interfaces/__global.nodejs.global.html#http.__type.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":338,"kind":32,"name":"EXPECTATION_FAILED","url":"interfaces/__global.nodejs.global.html#http.__type.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":339,"kind":32,"name":"IM_A_TEAPOT","url":"interfaces/__global.nodejs.global.html#http.__type.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":340,"kind":32,"name":"MISDIRECET_REQUEST","url":"interfaces/__global.nodejs.global.html#http.__type.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":341,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"interfaces/__global.nodejs.global.html#http.__type.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":342,"kind":32,"name":"LOCKED","url":"interfaces/__global.nodejs.global.html#http.__type.locked","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":343,"kind":32,"name":"FAILED_DEPENDENCY","url":"interfaces/__global.nodejs.global.html#http.__type.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":344,"kind":32,"name":"UPGRADE_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":345,"kind":32,"name":"PRECONDITION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":346,"kind":32,"name":"TOO_MANY_REQUESTS","url":"interfaces/__global.nodejs.global.html#http.__type.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":347,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"interfaces/__global.nodejs.global.html#http.__type.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":348,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"interfaces/__global.nodejs.global.html#http.__type.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":349,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"interfaces/__global.nodejs.global.html#http.__type.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":350,"kind":32,"name":"NOT_IMPLEMENTED","url":"interfaces/__global.nodejs.global.html#http.__type.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":351,"kind":32,"name":"BAD_GATEWAY","url":"interfaces/__global.nodejs.global.html#http.__type.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":352,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"interfaces/__global.nodejs.global.html#http.__type.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":353,"kind":32,"name":"GATEWAY_TIMEOUT","url":"interfaces/__global.nodejs.global.html#http.__type.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":354,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"interfaces/__global.nodejs.global.html#http.__type.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":355,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"interfaces/__global.nodejs.global.html#http.__type.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":356,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"interfaces/__global.nodejs.global.html#http.__type.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":357,"kind":32,"name":"LOOP_DETECTED","url":"interfaces/__global.nodejs.global.html#http.__type.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":358,"kind":32,"name":"NOT_EXTENDED","url":"interfaces/__global.nodejs.global.html#http.__type.not_extended","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":359,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"interfaces/__global.nodejs.global.html#http.__type.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.NodeJS.Global.HTTP.__type"},{"id":360,"kind":32,"name":"HttpException","url":"modules/__global.html#httpexception","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":361,"kind":32,"name":"HTTP","url":"modules/__global.html#http","classes":"tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported","parent":"__global"},{"id":362,"kind":65536,"name":"__type","url":"modules/__global.html#http.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"__global.HTTP"},{"id":363,"kind":32,"name":"CONTINUE","url":"modules/__global.html#http.__type.continue","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":364,"kind":32,"name":"SWITCHING_PROTOCOL","url":"modules/__global.html#http.__type.switching_protocol","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":365,"kind":32,"name":"PROCESSING","url":"modules/__global.html#http.__type.processing","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":366,"kind":32,"name":"EARLY_HINTS","url":"modules/__global.html#http.__type.early_hints","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":367,"kind":32,"name":"OK","url":"modules/__global.html#http.__type.ok","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":368,"kind":32,"name":"CREATED","url":"modules/__global.html#http.__type.created","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":369,"kind":32,"name":"ACCEPTED","url":"modules/__global.html#http.__type.accepted","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":370,"kind":32,"name":"NON_AUTHORITATIVE_INFORMATION","url":"modules/__global.html#http.__type.non_authoritative_information","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":371,"kind":32,"name":"NO_CONTENT","url":"modules/__global.html#http.__type.no_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":372,"kind":32,"name":"RESET_CONTENT","url":"modules/__global.html#http.__type.reset_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":373,"kind":32,"name":"PARTIAL_CONTENT","url":"modules/__global.html#http.__type.partial_content","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":374,"kind":32,"name":"MULTI_STATUS","url":"modules/__global.html#http.__type.multi_status","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":375,"kind":32,"name":"ALREADY_REPORTED","url":"modules/__global.html#http.__type.already_reported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":376,"kind":32,"name":"IM_USED","url":"modules/__global.html#http.__type.im_used","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":377,"kind":32,"name":"MULTIPLE_CHOICES","url":"modules/__global.html#http.__type.multiple_choices","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":378,"kind":32,"name":"MOVED_PERMANENTLY","url":"modules/__global.html#http.__type.moved_permanently","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":379,"kind":32,"name":"FOUND","url":"modules/__global.html#http.__type.found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":380,"kind":32,"name":"SEE_OTHER","url":"modules/__global.html#http.__type.see_other","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":381,"kind":32,"name":"NOT_MODIFIED","url":"modules/__global.html#http.__type.not_modified","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":382,"kind":32,"name":"USE_PROXY","url":"modules/__global.html#http.__type.use_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":383,"kind":32,"name":"SWITCH_PROXY","url":"modules/__global.html#http.__type.switch_proxy","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":384,"kind":32,"name":"TEMPORARY_REDIRECT","url":"modules/__global.html#http.__type.temporary_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":385,"kind":32,"name":"PERMANENT_REDIRECT","url":"modules/__global.html#http.__type.permanent_redirect","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":386,"kind":32,"name":"BAD_REQUEST","url":"modules/__global.html#http.__type.bad_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":387,"kind":32,"name":"UNAUTHORIZED","url":"modules/__global.html#http.__type.unauthorized","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":388,"kind":32,"name":"PAYMENT_REQUIRED","url":"modules/__global.html#http.__type.payment_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":389,"kind":32,"name":"FORBIDEN","url":"modules/__global.html#http.__type.forbiden","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":390,"kind":32,"name":"NOT_FOUND","url":"modules/__global.html#http.__type.not_found","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":391,"kind":32,"name":"METHOD_NOT_ALLOWED","url":"modules/__global.html#http.__type.method_not_allowed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":392,"kind":32,"name":"NOT_ACCEPTABLE","url":"modules/__global.html#http.__type.not_acceptable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":393,"kind":32,"name":"PROXY_AUTHENTICATION_REQUIRED","url":"modules/__global.html#http.__type.proxy_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":394,"kind":32,"name":"REQUEST_TIMEOUT","url":"modules/__global.html#http.__type.request_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":395,"kind":32,"name":"CONFLICT","url":"modules/__global.html#http.__type.conflict","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":396,"kind":32,"name":"GONE","url":"modules/__global.html#http.__type.gone","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":397,"kind":32,"name":"LENGTH_REQUIRED","url":"modules/__global.html#http.__type.length_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":398,"kind":32,"name":"PRECONDITION_FAILED","url":"modules/__global.html#http.__type.precondition_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":399,"kind":32,"name":"PAYLOAD_TOO_LARGE","url":"modules/__global.html#http.__type.payload_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":400,"kind":32,"name":"URI_TOO_LONG","url":"modules/__global.html#http.__type.uri_too_long","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":401,"kind":32,"name":"UNSUPPORTED_MEDIA_TYPE","url":"modules/__global.html#http.__type.unsupported_media_type","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":402,"kind":32,"name":"RANGE_NOT_SATISFIABLE","url":"modules/__global.html#http.__type.range_not_satisfiable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":403,"kind":32,"name":"EXPECTATION_FAILED","url":"modules/__global.html#http.__type.expectation_failed","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":404,"kind":32,"name":"IM_A_TEAPOT","url":"modules/__global.html#http.__type.im_a_teapot","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":405,"kind":32,"name":"MISDIRECET_REQUEST","url":"modules/__global.html#http.__type.misdirecet_request","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":406,"kind":32,"name":"UNPROCESSABLE_ENTITY","url":"modules/__global.html#http.__type.unprocessable_entity","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":407,"kind":32,"name":"LOCKED","url":"modules/__global.html#http.__type.locked","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":408,"kind":32,"name":"FAILED_DEPENDENCY","url":"modules/__global.html#http.__type.failed_dependency","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":409,"kind":32,"name":"UPGRADE_REQUIRED","url":"modules/__global.html#http.__type.upgrade_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":410,"kind":32,"name":"PRECONDITION_REQUIRED","url":"modules/__global.html#http.__type.precondition_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":411,"kind":32,"name":"TOO_MANY_REQUESTS","url":"modules/__global.html#http.__type.too_many_requests","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":412,"kind":32,"name":"REQUEST_HEADER_FIELDS_TOO_LARGE","url":"modules/__global.html#http.__type.request_header_fields_too_large","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":413,"kind":32,"name":"UNAVAILABLE_FOR_LEGAL_REASONS","url":"modules/__global.html#http.__type.unavailable_for_legal_reasons","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":414,"kind":32,"name":"INTERNAL_SERVER_ERROR","url":"modules/__global.html#http.__type.internal_server_error","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":415,"kind":32,"name":"NOT_IMPLEMENTED","url":"modules/__global.html#http.__type.not_implemented","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":416,"kind":32,"name":"BAD_GATEWAY","url":"modules/__global.html#http.__type.bad_gateway","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":417,"kind":32,"name":"SERVICE_UNAVAILABLE","url":"modules/__global.html#http.__type.service_unavailable","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":418,"kind":32,"name":"GATEWAY_TIMEOUT","url":"modules/__global.html#http.__type.gateway_timeout","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":419,"kind":32,"name":"HTTP_VERSION_NOT_SUPPORTED","url":"modules/__global.html#http.__type.http_version_not_supported","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":420,"kind":32,"name":"VARIANT_ALSO_NEGOTIATES","url":"modules/__global.html#http.__type.variant_also_negotiates","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":421,"kind":32,"name":"INSUFFICIENT_STORAGE","url":"modules/__global.html#http.__type.insufficient_storage","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":422,"kind":32,"name":"LOOP_DETECTED","url":"modules/__global.html#http.__type.loop_detected","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":423,"kind":32,"name":"NOT_EXTENDED","url":"modules/__global.html#http.__type.not_extended","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":424,"kind":32,"name":"NETWORK_AUTHENTICATION_REQUIRED","url":"modules/__global.html#http.__type.network_authentication_required","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"__global.HTTP.__type"},{"id":425,"kind":4194304,"name":"Method","url":"globals.html#method","classes":"tsd-kind-type-alias"},{"id":426,"kind":32,"name":"METHODS","url":"globals.html#methods","classes":"tsd-kind-variable"},{"id":427,"kind":128,"name":"Layer","url":"classes/layer.html","classes":"tsd-kind-class"},{"id":428,"kind":2048,"name":"isLayer","url":"classes/layer.html#islayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Layer"},{"id":429,"kind":1024,"name":"TYPES","url":"classes/layer.html#types","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Layer"},{"id":430,"kind":65536,"name":"__type","url":"classes/layer.html#types.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Layer.TYPES"},{"id":431,"kind":32,"name":"STATIC","url":"classes/layer.html#types.__type-1.static","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Layer.TYPES.__type"},{"id":432,"kind":32,"name":"PARAM","url":"classes/layer.html#types.__type-1.param","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Layer.TYPES.__type"},{"id":433,"kind":32,"name":"MATCH_ALL","url":"classes/layer.html#types.__type-1.match_all","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Layer.TYPES.__type"},{"id":434,"kind":32,"name":"REGEX","url":"classes/layer.html#types.__type-1.regex-1","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Layer.TYPES.__type"},{"id":435,"kind":32,"name":"MULTI_PARAM","url":"classes/layer.html#types.__type-1.multi_param","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Layer.TYPES.__type"},{"id":436,"kind":1024,"name":"Handlers","url":"classes/layer.html#handlers-2","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Layer"},{"id":437,"kind":1024,"name":"handlers","url":"classes/layer.html#handlers-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":438,"kind":1024,"name":"options","url":"classes/layer.html#options-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":439,"kind":1024,"name":"wildcardChild","url":"classes/layer.html#wildcardchild","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":440,"kind":1024,"name":"parametricBrother","url":"classes/layer.html#parametricbrother","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":441,"kind":1024,"name":"paramsLength","url":"classes/layer.html#paramslength","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":442,"kind":512,"name":"constructor","url":"classes/layer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Layer"},{"id":443,"kind":1024,"name":"prefix","url":"classes/layer.html#prefix","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":444,"kind":1024,"name":"children","url":"classes/layer.html#children-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":445,"kind":1024,"name":"kind","url":"classes/layer.html#kind","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":446,"kind":1024,"name":"regex","url":"classes/layer.html#regex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":447,"kind":1024,"name":"params","url":"classes/layer.html#params","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Layer"},{"id":448,"kind":262144,"name":"label","url":"classes/layer.html#label","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Layer"},{"id":449,"kind":262144,"name":"numberOfChildren","url":"classes/layer.html#numberofchildren","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Layer"},{"id":450,"kind":2048,"name":"addChild","url":"classes/layer.html#addchild","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":451,"kind":2048,"name":"reset","url":"classes/layer.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":452,"kind":2048,"name":"findByLabel","url":"classes/layer.html#findbylabel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":453,"kind":2048,"name":"findChild","url":"classes/layer.html#findchild","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":454,"kind":2048,"name":"addHandler","url":"classes/layer.html#addhandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":455,"kind":2048,"name":"getHandler","url":"classes/layer.html#gethandler","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":456,"kind":2048,"name":"prettyPrint","url":"classes/layer.html#prettyprint","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Layer"},{"id":457,"kind":64,"name":"buildHandlers","url":"globals.html#buildhandlers","classes":"tsd-kind-function tsd-is-not-exported"},{"id":458,"kind":32,"name":"Handlers","url":"globals.html#handlers","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":459,"kind":2097152,"name":"OPTIONS","url":"globals.html#options","classes":"tsd-kind-object-literal tsd-is-not-exported"},{"id":460,"kind":32,"name":"schema","url":"globals.html#options.schema","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"OPTIONS"},{"id":461,"kind":65536,"name":"__type","url":"globals.html#options.schema.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"OPTIONS.schema"},{"id":462,"kind":2097152,"name":"TYPES","url":"globals.html#types","classes":"tsd-kind-object-literal tsd-is-not-exported"},{"id":463,"kind":32,"name":"STATIC","url":"globals.html#types.static","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"TYPES"},{"id":464,"kind":32,"name":"PARAM","url":"globals.html#types.param","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"TYPES"},{"id":465,"kind":32,"name":"MATCH_ALL","url":"globals.html#types.match_all","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"TYPES"},{"id":466,"kind":32,"name":"REGEX","url":"globals.html#types.regex","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"TYPES"},{"id":467,"kind":32,"name":"MULTI_PARAM","url":"globals.html#types.multi_param","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"TYPES"},{"id":468,"kind":256,"name":"HandlerObject","url":"interfaces/layer.handlerobject.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":469,"kind":1024,"name":"handler","url":"interfaces/layer.handlerobject.html#handler","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.HandlerObject"},{"id":470,"kind":1024,"name":"params","url":"interfaces/layer.handlerobject.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.HandlerObject"},{"id":471,"kind":1024,"name":"paramsLength","url":"interfaces/layer.handlerobject.html#paramslength","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.HandlerObject"},{"id":472,"kind":256,"name":"Handlers","url":"interfaces/layer.handlers.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":473,"kind":1024,"name":"ACL","url":"interfaces/layer.handlers.html#acl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":474,"kind":1024,"name":"BIND","url":"interfaces/layer.handlers.html#bind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":475,"kind":1024,"name":"CHECKOUT","url":"interfaces/layer.handlers.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":476,"kind":1024,"name":"CONNECT","url":"interfaces/layer.handlers.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":477,"kind":1024,"name":"COPY","url":"interfaces/layer.handlers.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":478,"kind":1024,"name":"DELETE","url":"interfaces/layer.handlers.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":479,"kind":1024,"name":"GET","url":"interfaces/layer.handlers.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":480,"kind":1024,"name":"HEAD","url":"interfaces/layer.handlers.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":481,"kind":1024,"name":"LINK","url":"interfaces/layer.handlers.html#link","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":482,"kind":1024,"name":"LOCK","url":"interfaces/layer.handlers.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":483,"kind":1024,"name":"M-SEARCH","url":"interfaces/layer.handlers.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":484,"kind":1024,"name":"MERGE","url":"interfaces/layer.handlers.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":485,"kind":1024,"name":"MKACTIVITY","url":"interfaces/layer.handlers.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":486,"kind":1024,"name":"MKCALENDAR","url":"interfaces/layer.handlers.html#mkcalendar","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":487,"kind":1024,"name":"MKCOL","url":"interfaces/layer.handlers.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":488,"kind":1024,"name":"MOVE","url":"interfaces/layer.handlers.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":489,"kind":1024,"name":"NOTIFY","url":"interfaces/layer.handlers.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":490,"kind":1024,"name":"OPTIONS","url":"interfaces/layer.handlers.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":491,"kind":1024,"name":"PATCH","url":"interfaces/layer.handlers.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":492,"kind":1024,"name":"POST","url":"interfaces/layer.handlers.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":493,"kind":1024,"name":"PROPFIND","url":"interfaces/layer.handlers.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":494,"kind":1024,"name":"PROPPATCH","url":"interfaces/layer.handlers.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":495,"kind":1024,"name":"PURGE","url":"interfaces/layer.handlers.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":496,"kind":1024,"name":"PUT","url":"interfaces/layer.handlers.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":497,"kind":1024,"name":"REBIND","url":"interfaces/layer.handlers.html#rebind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":498,"kind":1024,"name":"REPORT","url":"interfaces/layer.handlers.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":499,"kind":1024,"name":"SEARCH","url":"interfaces/layer.handlers.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":500,"kind":1024,"name":"SOURCE","url":"interfaces/layer.handlers.html#source","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":501,"kind":1024,"name":"SUBSCRIBE","url":"interfaces/layer.handlers.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":502,"kind":1024,"name":"TRACE","url":"interfaces/layer.handlers.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":503,"kind":1024,"name":"UNBIND","url":"interfaces/layer.handlers.html#unbind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":504,"kind":1024,"name":"UNLINK","url":"interfaces/layer.handlers.html#unlink","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":505,"kind":1024,"name":"UNLOCK","url":"interfaces/layer.handlers.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":506,"kind":1024,"name":"UNSUBSCRIBE","url":"interfaces/layer.handlers.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Handlers"},{"id":507,"kind":256,"name":"Options","url":"interfaces/layer.options.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":508,"kind":1024,"name":"ACL","url":"interfaces/layer.options.html#acl","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":509,"kind":1024,"name":"BIND","url":"interfaces/layer.options.html#bind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":510,"kind":1024,"name":"CHECKOUT","url":"interfaces/layer.options.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":511,"kind":1024,"name":"CONNECT","url":"interfaces/layer.options.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":512,"kind":1024,"name":"COPY","url":"interfaces/layer.options.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":513,"kind":1024,"name":"DELETE","url":"interfaces/layer.options.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":514,"kind":1024,"name":"GET","url":"interfaces/layer.options.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":515,"kind":1024,"name":"HEAD","url":"interfaces/layer.options.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":516,"kind":1024,"name":"LINK","url":"interfaces/layer.options.html#link","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":517,"kind":1024,"name":"LOCK","url":"interfaces/layer.options.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":518,"kind":1024,"name":"M-SEARCH","url":"interfaces/layer.options.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":519,"kind":1024,"name":"MERGE","url":"interfaces/layer.options.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":520,"kind":1024,"name":"MKACTIVITY","url":"interfaces/layer.options.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":521,"kind":1024,"name":"MKCALENDAR","url":"interfaces/layer.options.html#mkcalendar","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":522,"kind":1024,"name":"MKCOL","url":"interfaces/layer.options.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":523,"kind":1024,"name":"MOVE","url":"interfaces/layer.options.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":524,"kind":1024,"name":"NOTIFY","url":"interfaces/layer.options.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":525,"kind":1024,"name":"OPTIONS","url":"interfaces/layer.options.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":526,"kind":1024,"name":"PATCH","url":"interfaces/layer.options.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":527,"kind":1024,"name":"POST","url":"interfaces/layer.options.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":528,"kind":1024,"name":"PROPFIND","url":"interfaces/layer.options.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":529,"kind":1024,"name":"PROPPATCH","url":"interfaces/layer.options.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":530,"kind":1024,"name":"PURGE","url":"interfaces/layer.options.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":531,"kind":1024,"name":"PUT","url":"interfaces/layer.options.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":532,"kind":1024,"name":"REBIND","url":"interfaces/layer.options.html#rebind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":533,"kind":1024,"name":"REPORT","url":"interfaces/layer.options.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":534,"kind":1024,"name":"SEARCH","url":"interfaces/layer.options.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":535,"kind":1024,"name":"SOURCE","url":"interfaces/layer.options.html#source","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":536,"kind":1024,"name":"SUBSCRIBE","url":"interfaces/layer.options.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":537,"kind":1024,"name":"TRACE","url":"interfaces/layer.options.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":538,"kind":1024,"name":"UNBIND","url":"interfaces/layer.options.html#unbind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":539,"kind":1024,"name":"UNLINK","url":"interfaces/layer.options.html#unlink","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":540,"kind":1024,"name":"UNLOCK","url":"interfaces/layer.options.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":541,"kind":1024,"name":"UNSUBSCRIBE","url":"interfaces/layer.options.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Options"},{"id":542,"kind":256,"name":"Children","url":"interfaces/layer.children.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":543,"kind":256,"name":"JsonSchemaProperties","url":"interfaces/layer.jsonschemaproperties.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":544,"kind":256,"name":"JsonSchema","url":"interfaces/layer.jsonschema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":545,"kind":1024,"name":"title","url":"interfaces/layer.jsonschema.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":546,"kind":1024,"name":"type","url":"interfaces/layer.jsonschema.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":547,"kind":1024,"name":"properties","url":"interfaces/layer.jsonschema.html#properties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":548,"kind":1024,"name":"patternProperties","url":"interfaces/layer.jsonschema.html#patternproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":549,"kind":1024,"name":"additionalProperties","url":"interfaces/layer.jsonschema.html#additionalproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":550,"kind":1024,"name":"required","url":"interfaces/layer.jsonschema.html#required","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.JsonSchema"},{"id":551,"kind":256,"name":"Schema","url":"interfaces/layer.schema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":552,"kind":1024,"name":"response","url":"interfaces/layer.schema.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.Schema"},{"id":553,"kind":256,"name":"RouteOptions","url":"interfaces/layer.routeoptions.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Layer"},{"id":554,"kind":1024,"name":"schema","url":"interfaces/layer.routeoptions.html#schema","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Layer.RouteOptions"},{"id":555,"kind":4194304,"name":"Handler","url":"classes/layer.html#handler","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Layer"},{"id":556,"kind":65536,"name":"__type","url":"classes/layer.html#handler.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Layer.Handler"},{"id":557,"kind":4194304,"name":"JsonSchemaType","url":"classes/layer.html#jsonschematype","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Layer"},{"id":558,"kind":64,"name":"init","url":"globals.html#init","classes":"tsd-kind-function"},{"id":559,"kind":128,"name":"Router","url":"classes/router.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":560,"kind":1024,"name":"get","url":"classes/router.html#get","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":561,"kind":1024,"name":"post","url":"classes/router.html#post","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":562,"kind":1024,"name":"put","url":"classes/router.html#put","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":563,"kind":1024,"name":"head","url":"classes/router.html#head","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":564,"kind":1024,"name":"delete","url":"classes/router.html#delete","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":565,"kind":1024,"name":"options","url":"classes/router.html#options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":566,"kind":1024,"name":"trace","url":"classes/router.html#trace","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":567,"kind":1024,"name":"copy","url":"classes/router.html#copy","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":568,"kind":1024,"name":"lock","url":"classes/router.html#lock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":569,"kind":1024,"name":"mkcol","url":"classes/router.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":570,"kind":1024,"name":"move","url":"classes/router.html#move","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":571,"kind":1024,"name":"purge","url":"classes/router.html#purge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":572,"kind":1024,"name":"propfind","url":"classes/router.html#propfind","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":573,"kind":1024,"name":"proppatch","url":"classes/router.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":574,"kind":1024,"name":"unlock","url":"classes/router.html#unlock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":575,"kind":1024,"name":"report","url":"classes/router.html#report","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":576,"kind":1024,"name":"mkactivity","url":"classes/router.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":577,"kind":1024,"name":"checkout","url":"classes/router.html#checkout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":578,"kind":1024,"name":"merge","url":"classes/router.html#merge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":579,"kind":1024,"name":"m-search","url":"classes/router.html#m_search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":580,"kind":1024,"name":"notify","url":"classes/router.html#notify","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":581,"kind":1024,"name":"subscribe","url":"classes/router.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":582,"kind":1024,"name":"unsubscribe","url":"classes/router.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":583,"kind":1024,"name":"patch","url":"classes/router.html#patch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":584,"kind":1024,"name":"search","url":"classes/router.html#search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":585,"kind":1024,"name":"connect","url":"classes/router.html#connect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Router"},{"id":586,"kind":2048,"name":"isRouter","url":"classes/router.html#isrouter","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Router"},{"id":587,"kind":1024,"name":"tree","url":"classes/router.html#tree","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":588,"kind":1024,"name":"middlewares","url":"classes/router.html#middlewares","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":589,"kind":1024,"name":"routes","url":"classes/router.html#routes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":590,"kind":1024,"name":"params","url":"classes/router.html#params-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":591,"kind":1024,"name":"caseSensitive","url":"classes/router.html#casesensitive","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":592,"kind":1024,"name":"ignoreTrailingSlash","url":"classes/router.html#ignoretrailingslash","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":593,"kind":1024,"name":"maxParamLength","url":"classes/router.html#maxparamlength","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":594,"kind":1024,"name":"allowUnsafeRegex","url":"classes/router.html#allowunsaferegex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":595,"kind":512,"name":"constructor","url":"classes/router.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Router"},{"id":596,"kind":1024,"name":"prefix","url":"classes/router.html#prefix","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Router"},{"id":597,"kind":2048,"name":"_on","url":"classes/router.html#_on","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":598,"kind":2048,"name":"_insert","url":"classes/router.html#_insert","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":599,"kind":2048,"name":"_next","url":"classes/router.html#_next","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":600,"kind":1024,"name":"_safeNext","url":"classes/router.html#_safenext","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":601,"kind":2048,"name":"_use","url":"classes/router.html#_use","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Router"},{"id":602,"kind":2048,"name":"initialize","url":"classes/router.html#initialize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":603,"kind":2048,"name":"on","url":"classes/router.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":604,"kind":2048,"name":"route","url":"classes/router.html#route-1","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":605,"kind":2048,"name":"use","url":"classes/router.html#use","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":606,"kind":2048,"name":"param","url":"classes/router.html#param","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":607,"kind":2048,"name":"reset","url":"classes/router.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":608,"kind":2048,"name":"lookup","url":"classes/router.html#lookup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":609,"kind":2048,"name":"find","url":"classes/router.html#find","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":610,"kind":2048,"name":"prettyPrint","url":"classes/router.html#prettyprint","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":611,"kind":2048,"name":"all","url":"classes/router.html#all","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":612,"kind":32,"name":"NODE_TYPES","url":"globals.html#node_types","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":613,"kind":65536,"name":"__type","url":"globals.html#node_types.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"NODE_TYPES"},{"id":614,"kind":32,"name":"STATIC","url":"globals.html#node_types.__type.static","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"NODE_TYPES.__type"},{"id":615,"kind":32,"name":"PARAM","url":"globals.html#node_types.__type.param","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"NODE_TYPES.__type"},{"id":616,"kind":32,"name":"MATCH_ALL","url":"globals.html#node_types.__type.match_all","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"NODE_TYPES.__type"},{"id":617,"kind":32,"name":"REGEX","url":"globals.html#node_types.__type.regex","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"NODE_TYPES.__type"},{"id":618,"kind":32,"name":"MULTI_PARAM","url":"globals.html#node_types.__type.multi_param","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"NODE_TYPES.__type"},{"id":619,"kind":2097152,"name":"EMPTY_HANDLE","url":"globals.html#empty_handle","classes":"tsd-kind-object-literal tsd-is-not-exported"},{"id":620,"kind":32,"name":"handlers","url":"globals.html#empty_handle.handlers","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"EMPTY_HANDLE"},{"id":621,"kind":2097152,"name":"options","url":"globals.html#empty_handle.options","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal tsd-is-not-exported","parent":"EMPTY_HANDLE"},{"id":622,"kind":32,"name":"schema","url":"globals.html#empty_handle.options.schema","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"EMPTY_HANDLE.options"},{"id":623,"kind":65536,"name":"__type","url":"globals.html#empty_handle.options.schema.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"EMPTY_HANDLE.options.schema"},{"id":624,"kind":32,"name":"params","url":"globals.html#empty_handle.params","classes":"tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported","parent":"EMPTY_HANDLE"},{"id":625,"kind":65536,"name":"__type","url":"globals.html#empty_handle.params.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable tsd-is-not-exported","parent":"EMPTY_HANDLE.params"},{"id":626,"kind":64,"name":"pathMatchesMiddleware","url":"globals.html#pathmatchesmiddleware","classes":"tsd-kind-function tsd-is-not-exported"},{"id":627,"kind":64,"name":"sanitizeUrl","url":"globals.html#sanitizeurl","classes":"tsd-kind-function tsd-is-not-exported"},{"id":628,"kind":64,"name":"getWildcardNode","url":"globals.html#getwildcardnode","classes":"tsd-kind-function tsd-is-not-exported"},{"id":629,"kind":64,"name":"getClosingParenthensePosition","url":"globals.html#getclosingparenthenseposition","classes":"tsd-kind-function tsd-is-not-exported"},{"id":630,"kind":256,"name":"Middleware","url":"interfaces/router.middleware.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Router"},{"id":631,"kind":1024,"name":"path","url":"interfaces/router.middleware.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Middleware"},{"id":632,"kind":1024,"name":"handlers","url":"interfaces/router.middleware.html#handlers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Middleware"},{"id":633,"kind":256,"name":"Route","url":"interfaces/router.route.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Router"},{"id":634,"kind":1024,"name":"method","url":"interfaces/router.route.html#method","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Route"},{"id":635,"kind":1024,"name":"path","url":"interfaces/router.route.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Route"},{"id":636,"kind":1024,"name":"opts","url":"interfaces/router.route.html#opts","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Route"},{"id":637,"kind":1024,"name":"handlers","url":"interfaces/router.route.html#handlers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.Route"},{"id":638,"kind":256,"name":"Params","url":"interfaces/router.params.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Router"},{"id":639,"kind":256,"name":"MethodFunctions","url":"interfaces/router.methodfunctions.html","classes":"tsd-kind-interface tsd-parent-kind-class tsd-has-type-parameter","parent":"Router"},{"id":640,"kind":1024,"name":"get","url":"interfaces/router.methodfunctions.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":641,"kind":1024,"name":"post","url":"interfaces/router.methodfunctions.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":642,"kind":1024,"name":"put","url":"interfaces/router.methodfunctions.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":643,"kind":1024,"name":"head","url":"interfaces/router.methodfunctions.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":644,"kind":1024,"name":"delete","url":"interfaces/router.methodfunctions.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":645,"kind":1024,"name":"options","url":"interfaces/router.methodfunctions.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":646,"kind":1024,"name":"trace","url":"interfaces/router.methodfunctions.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":647,"kind":1024,"name":"copy","url":"interfaces/router.methodfunctions.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":648,"kind":1024,"name":"lock","url":"interfaces/router.methodfunctions.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":649,"kind":1024,"name":"mkcol","url":"interfaces/router.methodfunctions.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":650,"kind":1024,"name":"move","url":"interfaces/router.methodfunctions.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":651,"kind":1024,"name":"purge","url":"interfaces/router.methodfunctions.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":652,"kind":1024,"name":"propfind","url":"interfaces/router.methodfunctions.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":653,"kind":1024,"name":"proppatch","url":"interfaces/router.methodfunctions.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":654,"kind":1024,"name":"unlock","url":"interfaces/router.methodfunctions.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":655,"kind":1024,"name":"report","url":"interfaces/router.methodfunctions.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":656,"kind":1024,"name":"mkactivity","url":"interfaces/router.methodfunctions.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":657,"kind":1024,"name":"checkout","url":"interfaces/router.methodfunctions.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":658,"kind":1024,"name":"merge","url":"interfaces/router.methodfunctions.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":659,"kind":1024,"name":"m-search","url":"interfaces/router.methodfunctions.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":660,"kind":1024,"name":"notify","url":"interfaces/router.methodfunctions.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":661,"kind":1024,"name":"subscribe","url":"interfaces/router.methodfunctions.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":662,"kind":1024,"name":"unsubscribe","url":"interfaces/router.methodfunctions.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":663,"kind":1024,"name":"patch","url":"interfaces/router.methodfunctions.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":664,"kind":1024,"name":"search","url":"interfaces/router.methodfunctions.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":665,"kind":1024,"name":"connect","url":"interfaces/router.methodfunctions.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.MethodFunctions"},{"id":666,"kind":256,"name":"PathMethods","url":"interfaces/router.pathmethods.html","classes":"tsd-kind-interface tsd-parent-kind-class tsd-has-type-parameter","parent":"Router"},{"id":667,"kind":1024,"name":"get","url":"interfaces/router.pathmethods.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":668,"kind":1024,"name":"post","url":"interfaces/router.pathmethods.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":669,"kind":1024,"name":"put","url":"interfaces/router.pathmethods.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":670,"kind":1024,"name":"head","url":"interfaces/router.pathmethods.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":671,"kind":1024,"name":"delete","url":"interfaces/router.pathmethods.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":672,"kind":1024,"name":"options","url":"interfaces/router.pathmethods.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":673,"kind":1024,"name":"trace","url":"interfaces/router.pathmethods.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":674,"kind":1024,"name":"copy","url":"interfaces/router.pathmethods.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":675,"kind":1024,"name":"lock","url":"interfaces/router.pathmethods.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":676,"kind":1024,"name":"mkcol","url":"interfaces/router.pathmethods.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":677,"kind":1024,"name":"move","url":"interfaces/router.pathmethods.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":678,"kind":1024,"name":"purge","url":"interfaces/router.pathmethods.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":679,"kind":1024,"name":"propfind","url":"interfaces/router.pathmethods.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":680,"kind":1024,"name":"proppatch","url":"interfaces/router.pathmethods.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":681,"kind":1024,"name":"unlock","url":"interfaces/router.pathmethods.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":682,"kind":1024,"name":"report","url":"interfaces/router.pathmethods.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":683,"kind":1024,"name":"mkactivity","url":"interfaces/router.pathmethods.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":684,"kind":1024,"name":"checkout","url":"interfaces/router.pathmethods.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":685,"kind":1024,"name":"merge","url":"interfaces/router.pathmethods.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":686,"kind":1024,"name":"m-search","url":"interfaces/router.pathmethods.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":687,"kind":1024,"name":"notify","url":"interfaces/router.pathmethods.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":688,"kind":1024,"name":"subscribe","url":"interfaces/router.pathmethods.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":689,"kind":1024,"name":"unsubscribe","url":"interfaces/router.pathmethods.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":690,"kind":1024,"name":"patch","url":"interfaces/router.pathmethods.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":691,"kind":1024,"name":"search","url":"interfaces/router.pathmethods.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":692,"kind":1024,"name":"connect","url":"interfaces/router.pathmethods.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Router.PathMethods"},{"id":693,"kind":4194304,"name":"MethodFunction","url":"classes/router.html#methodfunction","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Router"},{"id":694,"kind":65536,"name":"__type","url":"classes/router.html#methodfunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Router.MethodFunction"},{"id":695,"kind":4194304,"name":"PathMethodFunction","url":"classes/router.html#pathmethodfunction","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Router"},{"id":696,"kind":65536,"name":"__type","url":"classes/router.html#pathmethodfunction.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Router.PathMethodFunction"},{"id":697,"kind":128,"name":"Foxify","url":"classes/foxify.html","classes":"tsd-kind-class"},{"id":698,"kind":2048,"name":"get","url":"classes/foxify.html#get","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Foxify"},{"id":699,"kind":2048,"name":"use","url":"classes/foxify.html#use","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":700,"kind":2048,"name":"param","url":"classes/foxify.html#param","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":701,"kind":1024,"name":"post","url":"classes/foxify.html#post","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":702,"kind":1024,"name":"put","url":"classes/foxify.html#put","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":703,"kind":1024,"name":"head","url":"classes/foxify.html#head","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":704,"kind":1024,"name":"delete","url":"classes/foxify.html#delete","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":705,"kind":1024,"name":"options","url":"classes/foxify.html#options-1","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":706,"kind":1024,"name":"trace","url":"classes/foxify.html#trace","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":707,"kind":1024,"name":"copy","url":"classes/foxify.html#copy","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":708,"kind":1024,"name":"lock","url":"classes/foxify.html#lock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":709,"kind":1024,"name":"mkcol","url":"classes/foxify.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":710,"kind":1024,"name":"move","url":"classes/foxify.html#move","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":711,"kind":1024,"name":"purge","url":"classes/foxify.html#purge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":712,"kind":1024,"name":"propfind","url":"classes/foxify.html#propfind","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":713,"kind":1024,"name":"proppatch","url":"classes/foxify.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":714,"kind":1024,"name":"unlock","url":"classes/foxify.html#unlock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":715,"kind":1024,"name":"report","url":"classes/foxify.html#report","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":716,"kind":1024,"name":"mkactivity","url":"classes/foxify.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":717,"kind":1024,"name":"checkout","url":"classes/foxify.html#checkout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":718,"kind":1024,"name":"merge","url":"classes/foxify.html#merge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":719,"kind":1024,"name":"m-search","url":"classes/foxify.html#m_search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":720,"kind":1024,"name":"notify","url":"classes/foxify.html#notify","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":721,"kind":1024,"name":"subscribe","url":"classes/foxify.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":722,"kind":1024,"name":"unsubscribe","url":"classes/foxify.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":723,"kind":1024,"name":"patch","url":"classes/foxify.html#patch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":724,"kind":1024,"name":"search","url":"classes/foxify.html#search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":725,"kind":1024,"name":"connect","url":"classes/foxify.html#connect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Foxify"},{"id":726,"kind":1024,"name":"constants","url":"classes/foxify.html#constants","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":727,"kind":1024,"name":"Router","url":"classes/foxify.html#router","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":728,"kind":1024,"name":"static","url":"classes/foxify.html#static","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":729,"kind":2048,"name":"dotenv","url":"classes/foxify.html#dotenv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":730,"kind":2097152,"name":"_options","url":"classes/foxify.html#_options","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":731,"kind":32,"name":"https","url":"classes/foxify.html#_options.https","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":732,"kind":32,"name":"x-powered-by","url":"classes/foxify.html#_options.x_powered_by","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":733,"kind":2097152,"name":"routing","url":"classes/foxify.html#_options.routing","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":734,"kind":32,"name":"case-sensitive","url":"classes/foxify.html#_options.routing.case_sensitive","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.routing"},{"id":735,"kind":32,"name":"ignore-trailing-slash","url":"classes/foxify.html#_options.routing.ignore_trailing_slash","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.routing"},{"id":736,"kind":32,"name":"allow-unsafe-regex","url":"classes/foxify.html#_options.routing.allow_unsafe_regex","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.routing"},{"id":737,"kind":2097152,"name":"json","url":"classes/foxify.html#_options.json","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._options"},{"id":738,"kind":32,"name":"escape","url":"classes/foxify.html#_options.json.escape","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._options.json"},{"id":739,"kind":2097152,"name":"_settings","url":"classes/foxify.html#_settings","classes":"tsd-kind-object-literal tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":740,"kind":32,"name":"env","url":"classes/foxify.html#_settings.env","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":741,"kind":32,"name":"url","url":"classes/foxify.html#_settings.url","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":742,"kind":32,"name":"port","url":"classes/foxify.html#_settings.port","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":743,"kind":32,"name":"workers","url":"classes/foxify.html#_settings.workers","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":744,"kind":2097152,"name":"subdomain","url":"classes/foxify.html#_settings.subdomain","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":745,"kind":32,"name":"offset","url":"classes/foxify.html#_settings.subdomain.offset","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.subdomain"},{"id":746,"kind":2097152,"name":"https","url":"classes/foxify.html#_settings.https-1","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":747,"kind":32,"name":"cert","url":"classes/foxify.html#_settings.https-1.cert","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.https"},{"id":748,"kind":32,"name":"key","url":"classes/foxify.html#_settings.https-1.key","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.https"},{"id":749,"kind":2097152,"name":"json","url":"classes/foxify.html#_settings.json-1","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":750,"kind":32,"name":"replacer","url":"classes/foxify.html#_settings.json-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.json"},{"id":751,"kind":32,"name":"spaces","url":"classes/foxify.html#_settings.json-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.json"},{"id":752,"kind":2097152,"name":"query","url":"classes/foxify.html#_settings.query","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":753,"kind":32,"name":"parser","url":"classes/foxify.html#_settings.query.parser","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.query"},{"id":754,"kind":2097152,"name":"routing","url":"classes/foxify.html#_settings.routing-1","classes":"tsd-kind-object-literal tsd-parent-kind-object-literal","parent":"Foxify._settings"},{"id":755,"kind":32,"name":"max-param-length","url":"classes/foxify.html#_settings.routing-1.max_param_length","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"Foxify._settings.routing"},{"id":756,"kind":1024,"name":"_router","url":"classes/foxify.html#_router","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":757,"kind":1024,"name":"_view","url":"classes/foxify.html#_view","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":758,"kind":512,"name":"constructor","url":"classes/foxify.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Foxify"},{"id":759,"kind":2048,"name":"_set","url":"classes/foxify.html#_set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Foxify"},{"id":760,"kind":2048,"name":"enable","url":"classes/foxify.html#enable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":761,"kind":2048,"name":"disable","url":"classes/foxify.html#disable","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":762,"kind":2048,"name":"enabled","url":"classes/foxify.html#enabled","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":763,"kind":2048,"name":"disabled","url":"classes/foxify.html#disabled","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":764,"kind":2048,"name":"set","url":"classes/foxify.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":765,"kind":2048,"name":"prettyPrint","url":"classes/foxify.html#prettyprint","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":766,"kind":2048,"name":"engine","url":"classes/foxify.html#engine","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":767,"kind":2048,"name":"start","url":"classes/foxify.html#start","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Foxify"},{"id":768,"kind":32,"name":"SETTINGS","url":"globals.html#settings","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":769,"kind":256,"name":"Options","url":"interfaces/foxify.options.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Foxify"},{"id":770,"kind":1024,"name":"https","url":"interfaces/foxify.options.html#https","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":771,"kind":1024,"name":"x-powered-by","url":"interfaces/foxify.options.html#x_powered_by","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":772,"kind":1024,"name":"routing","url":"interfaces/foxify.options.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":773,"kind":65536,"name":"__type","url":"interfaces/foxify.options.html#routing.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Options.routing"},{"id":774,"kind":32,"name":"case-sensitive","url":"interfaces/foxify.options.html#routing.__type-1.case_sensitive","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.routing.__type"},{"id":775,"kind":32,"name":"ignore-trailing-slash","url":"interfaces/foxify.options.html#routing.__type-1.ignore_trailing_slash","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.routing.__type"},{"id":776,"kind":32,"name":"allow-unsafe-regex","url":"interfaces/foxify.options.html#routing.__type-1.allow_unsafe_regex","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.routing.__type"},{"id":777,"kind":1024,"name":"json","url":"interfaces/foxify.options.html#json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Options"},{"id":778,"kind":65536,"name":"__type","url":"interfaces/foxify.options.html#json.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Options.json"},{"id":779,"kind":32,"name":"escape","url":"interfaces/foxify.options.html#json.__type.escape","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Options.json.__type"},{"id":780,"kind":256,"name":"Settings","url":"interfaces/foxify.settings.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Foxify"},{"id":781,"kind":1024,"name":"env","url":"interfaces/foxify.settings.html#env","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":782,"kind":1024,"name":"url","url":"interfaces/foxify.settings.html#url","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":783,"kind":1024,"name":"port","url":"interfaces/foxify.settings.html#port","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":784,"kind":1024,"name":"workers","url":"interfaces/foxify.settings.html#workers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":785,"kind":1024,"name":"subdomain","url":"interfaces/foxify.settings.html#subdomain","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":786,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#subdomain.__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.subdomain"},{"id":787,"kind":32,"name":"offset","url":"interfaces/foxify.settings.html#subdomain.__type-4.offset","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.subdomain.__type"},{"id":788,"kind":1024,"name":"https","url":"interfaces/foxify.settings.html#https","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":789,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#https.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.https"},{"id":790,"kind":32,"name":"cert","url":"interfaces/foxify.settings.html#https.__type.cert","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.https.__type"},{"id":791,"kind":32,"name":"key","url":"interfaces/foxify.settings.html#https.__type.key","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.https.__type"},{"id":792,"kind":1024,"name":"json","url":"interfaces/foxify.settings.html#json","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":793,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#json.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.json"},{"id":794,"kind":32,"name":"replacer","url":"interfaces/foxify.settings.html#json.__type-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.json.__type"},{"id":795,"kind":32,"name":"spaces","url":"interfaces/foxify.settings.html#json.__type-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.json.__type"},{"id":796,"kind":1024,"name":"query","url":"interfaces/foxify.settings.html#query","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":797,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#query.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.query"},{"id":798,"kind":32,"name":"parser","url":"interfaces/foxify.settings.html#query.__type-2.parser","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.query.__type"},{"id":799,"kind":1024,"name":"routing","url":"interfaces/foxify.settings.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Foxify.Settings"},{"id":800,"kind":65536,"name":"__type","url":"interfaces/foxify.settings.html#routing.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Foxify.Settings.routing"},{"id":801,"kind":32,"name":"max-param-length","url":"interfaces/foxify.settings.html#routing.__type-3.max_param_length","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Foxify.Settings.routing.__type"},{"id":802,"kind":4194304,"name":"Request","url":"classes/foxify.html#request","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":803,"kind":4194304,"name":"Response","url":"classes/foxify.html#response","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Foxify"},{"id":804,"kind":128,"name":"Server","url":"classes/server.html","classes":"tsd-kind-class"},{"id":805,"kind":2048,"name":"on","url":"classes/server.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":806,"kind":1024,"name":"_instance","url":"classes/server.html#_instance","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Server"},{"id":807,"kind":1024,"name":"_host","url":"classes/server.html#_host","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":808,"kind":1024,"name":"_port","url":"classes/server.html#_port","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":809,"kind":1024,"name":"_listening","url":"classes/server.html#_listening","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Server"},{"id":810,"kind":512,"name":"constructor","url":"classes/server.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Server"},{"id":811,"kind":262144,"name":"listening","url":"classes/server.html#listening","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":812,"kind":2048,"name":"start","url":"classes/server.html#start","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":813,"kind":2048,"name":"stop","url":"classes/server.html#stop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":814,"kind":2048,"name":"reload","url":"classes/server.html#reload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":815,"kind":256,"name":"Options","url":"interfaces/server.options.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Server"},{"id":816,"kind":1024,"name":"https","url":"interfaces/server.options.html#https","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":817,"kind":1024,"name":"x-powered-by","url":"interfaces/server.options.html#x_powered_by","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":818,"kind":1024,"name":"routing","url":"interfaces/server.options.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":819,"kind":65536,"name":"__type","url":"interfaces/server.options.html#routing.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Options.routing"},{"id":820,"kind":32,"name":"case-sensitive","url":"interfaces/server.options.html#routing.__type-1.case_sensitive","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.routing.__type"},{"id":821,"kind":32,"name":"ignore-trailing-slash","url":"interfaces/server.options.html#routing.__type-1.ignore_trailing_slash","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.routing.__type"},{"id":822,"kind":32,"name":"allow-unsafe-regex","url":"interfaces/server.options.html#routing.__type-1.allow_unsafe_regex","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.routing.__type"},{"id":823,"kind":1024,"name":"json","url":"interfaces/server.options.html#json","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Options"},{"id":824,"kind":65536,"name":"__type","url":"interfaces/server.options.html#json.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Options.json"},{"id":825,"kind":32,"name":"escape","url":"interfaces/server.options.html#json.__type.escape","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Options.json.__type"},{"id":826,"kind":256,"name":"Settings","url":"interfaces/server.settings.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Server"},{"id":827,"kind":1024,"name":"view","url":"interfaces/server.settings.html#view","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Server.Settings"},{"id":828,"kind":1024,"name":"env","url":"interfaces/server.settings.html#env","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":829,"kind":1024,"name":"url","url":"interfaces/server.settings.html#url","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":830,"kind":1024,"name":"port","url":"interfaces/server.settings.html#port","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":831,"kind":1024,"name":"workers","url":"interfaces/server.settings.html#workers","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":832,"kind":1024,"name":"subdomain","url":"interfaces/server.settings.html#subdomain","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":833,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#subdomain.__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.subdomain"},{"id":834,"kind":32,"name":"offset","url":"interfaces/server.settings.html#subdomain.__type-4.offset","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.subdomain.__type"},{"id":835,"kind":1024,"name":"https","url":"interfaces/server.settings.html#https","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":836,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#https.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.https"},{"id":837,"kind":32,"name":"cert","url":"interfaces/server.settings.html#https.__type.cert","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.https.__type"},{"id":838,"kind":32,"name":"key","url":"interfaces/server.settings.html#https.__type.key","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.https.__type"},{"id":839,"kind":1024,"name":"json","url":"interfaces/server.settings.html#json","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":840,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#json.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.json"},{"id":841,"kind":32,"name":"replacer","url":"interfaces/server.settings.html#json.__type-1.replacer","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.json.__type"},{"id":842,"kind":32,"name":"spaces","url":"interfaces/server.settings.html#json.__type-1.spaces","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.json.__type"},{"id":843,"kind":1024,"name":"query","url":"interfaces/server.settings.html#query","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":844,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#query.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.query"},{"id":845,"kind":32,"name":"parser","url":"interfaces/server.settings.html#query.__type-2.parser","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.query.__type"},{"id":846,"kind":1024,"name":"routing","url":"interfaces/server.settings.html#routing","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"Server.Settings"},{"id":847,"kind":65536,"name":"__type","url":"interfaces/server.settings.html#routing.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Server.Settings.routing"},{"id":848,"kind":32,"name":"max-param-length","url":"interfaces/server.settings.html#routing.__type-3.max_param_length","classes":"tsd-kind-variable tsd-parent-kind-type-literal","parent":"Server.Settings.routing.__type"},{"id":849,"kind":4194304,"name":"Listener","url":"classes/server.html#listener","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Server"},{"id":850,"kind":65536,"name":"__type","url":"classes/server.html#listener.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Server.Listener"},{"id":851,"kind":4194304,"name":"Callback","url":"classes/server.html#callback","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Server"},{"id":852,"kind":65536,"name":"__type","url":"classes/server.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Server.Callback"},{"id":853,"kind":128,"name":"Route","url":"classes/route.html","classes":"tsd-kind-class"},{"id":854,"kind":1024,"name":"get","url":"classes/route.html#get","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":855,"kind":1024,"name":"post","url":"classes/route.html#post","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":856,"kind":1024,"name":"put","url":"classes/route.html#put","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":857,"kind":1024,"name":"head","url":"classes/route.html#head","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":858,"kind":1024,"name":"delete","url":"classes/route.html#delete","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":859,"kind":1024,"name":"options","url":"classes/route.html#options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":860,"kind":1024,"name":"trace","url":"classes/route.html#trace","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":861,"kind":1024,"name":"copy","url":"classes/route.html#copy","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":862,"kind":1024,"name":"lock","url":"classes/route.html#lock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":863,"kind":1024,"name":"mkcol","url":"classes/route.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":864,"kind":1024,"name":"move","url":"classes/route.html#move","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":865,"kind":1024,"name":"purge","url":"classes/route.html#purge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":866,"kind":1024,"name":"propfind","url":"classes/route.html#propfind","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":867,"kind":1024,"name":"proppatch","url":"classes/route.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":868,"kind":1024,"name":"unlock","url":"classes/route.html#unlock","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":869,"kind":1024,"name":"report","url":"classes/route.html#report","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":870,"kind":1024,"name":"mkactivity","url":"classes/route.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":871,"kind":1024,"name":"checkout","url":"classes/route.html#checkout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":872,"kind":1024,"name":"merge","url":"classes/route.html#merge","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":873,"kind":1024,"name":"m-search","url":"classes/route.html#m_search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":874,"kind":1024,"name":"notify","url":"classes/route.html#notify","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":875,"kind":1024,"name":"subscribe","url":"classes/route.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":876,"kind":1024,"name":"unsubscribe","url":"classes/route.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":877,"kind":1024,"name":"patch","url":"classes/route.html#patch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":878,"kind":1024,"name":"search","url":"classes/route.html#search","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":879,"kind":1024,"name":"connect","url":"classes/route.html#connect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Route"},{"id":880,"kind":2048,"name":"isRoute","url":"classes/route.html#isroute","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":881,"kind":1024,"name":"_routes","url":"classes/route.html#_routes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":882,"kind":1024,"name":"_prefix","url":"classes/route.html#_prefix","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":883,"kind":262144,"name":"routes","url":"classes/route.html#routes-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Route"},{"id":884,"kind":512,"name":"constructor","url":"classes/route.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Route"},{"id":885,"kind":2048,"name":"_push","url":"classes/route.html#_push","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"Route"},{"id":886,"kind":2048,"name":"any","url":"classes/route.html#any","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":887,"kind":2048,"name":"oneOf","url":"classes/route.html#oneof","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":888,"kind":2048,"name":"use","url":"classes/route.html#use","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Route"},{"id":889,"kind":256,"name":"MethodFunctions","url":"interfaces/route.methodfunctions.html","classes":"tsd-kind-interface tsd-parent-kind-class tsd-has-type-parameter","parent":"Route"},{"id":890,"kind":1024,"name":"get","url":"interfaces/route.methodfunctions.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":891,"kind":1024,"name":"post","url":"interfaces/route.methodfunctions.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":892,"kind":1024,"name":"put","url":"interfaces/route.methodfunctions.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":893,"kind":1024,"name":"head","url":"interfaces/route.methodfunctions.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":894,"kind":1024,"name":"delete","url":"interfaces/route.methodfunctions.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":895,"kind":1024,"name":"options","url":"interfaces/route.methodfunctions.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":896,"kind":1024,"name":"trace","url":"interfaces/route.methodfunctions.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":897,"kind":1024,"name":"copy","url":"interfaces/route.methodfunctions.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":898,"kind":1024,"name":"lock","url":"interfaces/route.methodfunctions.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":899,"kind":1024,"name":"mkcol","url":"interfaces/route.methodfunctions.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":900,"kind":1024,"name":"move","url":"interfaces/route.methodfunctions.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":901,"kind":1024,"name":"purge","url":"interfaces/route.methodfunctions.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":902,"kind":1024,"name":"propfind","url":"interfaces/route.methodfunctions.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":903,"kind":1024,"name":"proppatch","url":"interfaces/route.methodfunctions.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":904,"kind":1024,"name":"unlock","url":"interfaces/route.methodfunctions.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":905,"kind":1024,"name":"report","url":"interfaces/route.methodfunctions.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":906,"kind":1024,"name":"mkactivity","url":"interfaces/route.methodfunctions.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":907,"kind":1024,"name":"checkout","url":"interfaces/route.methodfunctions.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":908,"kind":1024,"name":"merge","url":"interfaces/route.methodfunctions.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":909,"kind":1024,"name":"m-search","url":"interfaces/route.methodfunctions.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":910,"kind":1024,"name":"notify","url":"interfaces/route.methodfunctions.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":911,"kind":1024,"name":"subscribe","url":"interfaces/route.methodfunctions.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":912,"kind":1024,"name":"unsubscribe","url":"interfaces/route.methodfunctions.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":913,"kind":1024,"name":"patch","url":"interfaces/route.methodfunctions.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":914,"kind":1024,"name":"search","url":"interfaces/route.methodfunctions.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":915,"kind":1024,"name":"connect","url":"interfaces/route.methodfunctions.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.MethodFunctions"},{"id":916,"kind":256,"name":"Routes","url":"interfaces/route.routes.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":917,"kind":1024,"name":"get","url":"interfaces/route.routes.html#get","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":918,"kind":1024,"name":"post","url":"interfaces/route.routes.html#post","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":919,"kind":1024,"name":"put","url":"interfaces/route.routes.html#put","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":920,"kind":1024,"name":"head","url":"interfaces/route.routes.html#head","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":921,"kind":1024,"name":"delete","url":"interfaces/route.routes.html#delete","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":922,"kind":1024,"name":"options","url":"interfaces/route.routes.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":923,"kind":1024,"name":"trace","url":"interfaces/route.routes.html#trace","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":924,"kind":1024,"name":"copy","url":"interfaces/route.routes.html#copy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":925,"kind":1024,"name":"lock","url":"interfaces/route.routes.html#lock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":926,"kind":1024,"name":"mkcol","url":"interfaces/route.routes.html#mkcol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":927,"kind":1024,"name":"move","url":"interfaces/route.routes.html#move","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":928,"kind":1024,"name":"purge","url":"interfaces/route.routes.html#purge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":929,"kind":1024,"name":"propfind","url":"interfaces/route.routes.html#propfind","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":930,"kind":1024,"name":"proppatch","url":"interfaces/route.routes.html#proppatch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":931,"kind":1024,"name":"unlock","url":"interfaces/route.routes.html#unlock","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":932,"kind":1024,"name":"report","url":"interfaces/route.routes.html#report","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":933,"kind":1024,"name":"mkactivity","url":"interfaces/route.routes.html#mkactivity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":934,"kind":1024,"name":"checkout","url":"interfaces/route.routes.html#checkout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":935,"kind":1024,"name":"merge","url":"interfaces/route.routes.html#merge","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":936,"kind":1024,"name":"m-search","url":"interfaces/route.routes.html#m_search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":937,"kind":1024,"name":"notify","url":"interfaces/route.routes.html#notify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":938,"kind":1024,"name":"subscribe","url":"interfaces/route.routes.html#subscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":939,"kind":1024,"name":"unsubscribe","url":"interfaces/route.routes.html#unsubscribe","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":940,"kind":1024,"name":"patch","url":"interfaces/route.routes.html#patch","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":941,"kind":1024,"name":"search","url":"interfaces/route.routes.html#search","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":942,"kind":1024,"name":"connect","url":"interfaces/route.routes.html#connect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Routes"},{"id":943,"kind":256,"name":"RouteObject","url":"interfaces/route.routeobject.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":944,"kind":1024,"name":"path","url":"interfaces/route.routeobject.html#path","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":945,"kind":1024,"name":"options","url":"interfaces/route.routeobject.html#options","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":946,"kind":1024,"name":"controller","url":"interfaces/route.routeobject.html#controller","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteObject"},{"id":947,"kind":256,"name":"JsonSchemaProperties","url":"interfaces/route.jsonschemaproperties.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":948,"kind":256,"name":"JsonSchema","url":"interfaces/route.jsonschema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":949,"kind":1024,"name":"title","url":"interfaces/route.jsonschema.html#title","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":950,"kind":1024,"name":"type","url":"interfaces/route.jsonschema.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":951,"kind":1024,"name":"properties","url":"interfaces/route.jsonschema.html#properties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":952,"kind":1024,"name":"patternProperties","url":"interfaces/route.jsonschema.html#patternproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":953,"kind":1024,"name":"additionalProperties","url":"interfaces/route.jsonschema.html#additionalproperties","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":954,"kind":1024,"name":"required","url":"interfaces/route.jsonschema.html#required","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.JsonSchema"},{"id":955,"kind":256,"name":"Schema","url":"interfaces/route.schema.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":956,"kind":1024,"name":"response","url":"interfaces/route.schema.html#response","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.Schema"},{"id":957,"kind":65536,"name":"__type","url":"interfaces/route.schema.html#response.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"Route.Schema.response"},{"id":958,"kind":256,"name":"RouteOptions","url":"interfaces/route.routeoptions.html","classes":"tsd-kind-interface tsd-parent-kind-class","parent":"Route"},{"id":959,"kind":1024,"name":"schema","url":"interfaces/route.routeoptions.html#schema","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Route.RouteOptions"},{"id":960,"kind":4194304,"name":"Controller","url":"classes/route.html#controller","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":961,"kind":65536,"name":"__type","url":"classes/route.html#controller.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Route.Controller"},{"id":962,"kind":4194304,"name":"MethodFunction","url":"classes/route.html#methodfunction","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Route"},{"id":963,"kind":65536,"name":"__type","url":"classes/route.html#methodfunction.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"Route.MethodFunction"},{"id":964,"kind":4194304,"name":"JsonSchemaType","url":"classes/route.html#jsonschematype","classes":"tsd-kind-type-alias tsd-parent-kind-class tsd-is-static","parent":"Route"},{"id":965,"kind":1024,"name":"_routes","url":"classes/router.html#_routes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"Router"},{"id":966,"kind":2048,"name":"prepend","url":"classes/router.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"},{"id":967,"kind":2048,"name":"push","url":"classes/router.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Router"}]}; \ No newline at end of file diff --git a/docs/classes/encapsulation.html b/docs/classes/encapsulation.html index 0685d37..149cf9c 100644 --- a/docs/classes/encapsulation.html +++ b/docs/classes/encapsulation.html @@ -111,7 +111,7 @@

constructor

  • Parameters

    @@ -157,7 +157,7 @@

    Protected _fn

    _fn: function
    @@ -201,7 +201,7 @@

    run

  • Parameters

    @@ -250,72 +250,6 @@

    Returns void diff --git a/docs/classes/engine.html b/docs/classes/engine.html index 0c0171d..53b5887 100644 --- a/docs/classes/engine.html +++ b/docs/classes/engine.html @@ -115,7 +115,7 @@

    Static Callback

    Callback: function
    @@ -156,7 +156,7 @@

    constructor

  • Parameters

    @@ -196,7 +196,7 @@

    Protected _ext

    _ext: string
    @@ -206,7 +206,7 @@

    Protected _handler

    _handler: function
    @@ -237,7 +237,7 @@

    Protected _path

    _path: string
    @@ -254,7 +254,7 @@

    render

  • Parameters

    @@ -285,9 +285,6 @@

    Returns void

  • diff --git a/docs/classes/eventemitter.html b/docs/classes/eventemitter.html new file mode 100644 index 0000000..e7a9186 --- /dev/null +++ b/docs/classes/eventemitter.html @@ -0,0 +1,961 @@ + + + + + + EventEmitter | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class EventEmitter

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + internal +
        +
      • + EventEmitter +
      • +
      +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Type aliases

    +
    + +

    Static ErrorEvent

    +
    ErrorEvent: "error" | "error-100" | "error-101" | "error-102" | "error-103" | "error-200" | "error-201" | "error-202" | "error-203" | "error-204" | "error-205" | "error-206" | "error-207" | "error-208" | "error-226" | "error-300" | "error-301" | "error-302" | "error-303" | "error-304" | "error-305" | "error-306" | "error-307" | "error-308" | "error-400" | "error-401" | "error-402" | "error-403" | "error-404" | "error-405" | "error-406" | "error-407" | "error-408" | "error-409" | "error-410" | "error-411" | "error-412" | "error-413" | "error-414" | "error-415" | "error-416" | "error-417" | "error-418" | "error-421" | "error-422" | "error-423" | "error-424" | "error-426" | "error-428" | "error-429" | "error-431" | "error-451" | "error-500" | "error-501" | "error-502" | "error-503" | "error-504" | "error-505" | "error-506" | "error-507" | "error-508" | "error-510" | "error-511"
    + +
    +
    + +

    Static ErrorListener

    +
    ErrorListener: function
    + +
    +

    Type declaration

    + +
    +
    +
    + +

    Static Event

    +
    Event: "uncaughtException" | "unhandledRejection" | ErrorEvent
    + +
    +
    + +

    Static ExceptionListener

    +
    ExceptionListener: function
    + +
    +

    Type declaration

    +
      +
    • +
        +
      • (error: Error): void
      • +
      +
        +
      • +

        Parameters

        +
          +
        • +
          error: Error
          +
        • +
        +

        Returns void

        +
      • +
      +
    • +
    +
    +
    +
    + +

    Static RejectionListener

    +
    RejectionListener: function
    + +
    +

    Type declaration

    +
      +
    • +
        +
      • (error: any): void
      • +
      +
        +
      • +

        Parameters

        +
          +
        • +
          error: any
          +
        • +
        +

        Returns void

        +
      • +
      +
    • +
    +
    +
    +
    +
    +

    Methods

    +
    + +

    addListener

    +
      +
    • addListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    emit

    + + +
    +
    + +

    eventNames

    +
      +
    • eventNames(): Array<string | symbol>
    • +
    +
      +
    • + +

      Returns Array<string | symbol>

      +
    • +
    +
    +
    + +

    getMaxListeners

    +
      +
    • getMaxListeners(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    listenerCount

    +
      +
    • listenerCount(type: string | symbol): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        type: string | symbol
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    listeners

    +
      +
    • listeners(event: string | symbol): Function[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      +

      Returns Function[]

      +
    • +
    +
    +
    + +

    off

    +
      +
    • off(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    on

    +
      +
    • on(event: ErrorEvent, listener: ErrorListener): this
    • +
    • on(event: "uncaughtException", listener: function): this
    • +
    • on(event: "unhandledRejection", listener: function): this
    • +
    +
      +
    • + +

      Parameters

      + +

      Returns this

      +
    • +
    • + +

      Parameters

      +
        +
      • +
        event: "uncaughtException"
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (error: Error): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              error: Error
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    • + +

      Parameters

      +
        +
      • +
        event: "unhandledRejection"
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (error: any): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              error: any
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    once

    +
      +
    • once(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    prependListener

    +
      +
    • prependListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    prependOnceListener

    +
      +
    • prependOnceListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    rawListeners

    +
      +
    • rawListeners(event: string | symbol): Function[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      +

      Returns Function[]

      +
    • +
    +
    +
    + +

    removeAllListeners

    +
      +
    • removeAllListeners(event?: string | symbol): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional event: string | symbol
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    removeListener

    +
      +
    • removeListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    setMaxListeners

    +
      +
    • setMaxListeners(n: number): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        n: number
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/eventemitter.internal.eventemitter.html b/docs/classes/eventemitter.internal.eventemitter.html new file mode 100644 index 0000000..de0e292 --- /dev/null +++ b/docs/classes/eventemitter.internal.eventemitter.html @@ -0,0 +1,800 @@ + + + + + + EventEmitter | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class EventEmitter

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + EventEmitter +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    Static defaultMaxListeners

    +
    defaultMaxListeners: number
    + +
    +
    +
    +

    Methods

    +
    + +

    addListener

    +
      +
    • addListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    emit

    +
      +
    • emit(event: string | symbol, ...args: any[]): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        Rest ...args: any[]
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    eventNames

    +
      +
    • eventNames(): Array<string | symbol>
    • +
    +
      +
    • + +

      Returns Array<string | symbol>

      +
    • +
    +
    +
    + +

    getMaxListeners

    +
      +
    • getMaxListeners(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    listenerCount

    +
      +
    • listenerCount(type: string | symbol): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        type: string | symbol
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    listeners

    +
      +
    • listeners(event: string | symbol): Function[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      +

      Returns Function[]

      +
    • +
    +
    +
    + +

    off

    +
      +
    • off(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    on

    +
      +
    • on(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    once

    +
      +
    • once(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    prependListener

    +
      +
    • prependListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    prependOnceListener

    +
      +
    • prependOnceListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    rawListeners

    +
      +
    • rawListeners(event: string | symbol): Function[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      +

      Returns Function[]

      +
    • +
    +
    +
    + +

    removeAllListeners

    +
      +
    • removeAllListeners(event?: string | symbol): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional event: string | symbol
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    removeListener

    +
      +
    • removeListener(event: string | symbol, listener: function): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        event: string | symbol
        +
      • +
      • +
        listener: function
        +
          +
        • +
            +
          • (...args: any[]): void
          • +
          +
            +
          • +

            Parameters

            +
              +
            • +
              Rest ...args: any[]
              +
            • +
            +

            Returns void

            +
          • +
          +
        • +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    setMaxListeners

    +
      +
    • setMaxListeners(n: number): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        n: number
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    Static listenerCount

    +
      +
    • listenerCount(emitter: EventEmitter, event: string | symbol): number
    • +
    +
      +
    • + +
      +
      +
      deprecated
      +

      since v4.0.0

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        emitter: EventEmitter
        +
      • +
      • +
        event: string | symbol
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/foxify.html b/docs/classes/foxify.html index 0a5e5d2..814064e 100644 --- a/docs/classes/foxify.html +++ b/docs/classes/foxify.html @@ -70,7 +70,7 @@

    Class Foxify

    Hierarchy

    diff --git a/docs/classes/layer.html b/docs/classes/layer.html new file mode 100644 index 0000000..47cfc05 --- /dev/null +++ b/docs/classes/layer.html @@ -0,0 +1,842 @@ + + + + + + Layer | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class Layer

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Layer +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Interfaces

    + +
    +
    +

    Type aliases

    + +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Accessors

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Type aliases

    +
    + +

    Static Handler

    +
    Handler: function
    + +
    +

    Type declaration

    +
      +
    • + +
        +
      • +

        Parameters

        +
          +
        • +
          request: Request
          +
        • +
        • +
          response: Response
          +
        • +
        • +
          next: function
          +
            +
          • +
              +
            • (): void
            • +
            +
              +
            • +

              Returns void

              +
            • +
            +
          • +
          +
        • +
        +

        Returns void

        +
      • +
      +
    • +
    +
    +
    +
    + +

    Static JsonSchemaType

    +
    JsonSchemaType: "string" | "integer" | "number" | "array" | "object" | "boolean" | "null"
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    +
      +
    • new Layer(prefix?: string, children?: Children, kind?: number, handlers?: Handlers, regex?: RegExp | null, params?: string[]): Layer
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Default value prefix: string = "/"
        +
      • +
      • +
        Default value children: Children = {}
        +
      • +
      • +
        Default value kind: number = TYPES.STATIC
        +
      • +
      • +
        Optional handlers: Handlers
        +
      • +
      • +
        Default value regex: RegExp | null = null
        +
      • +
      • +
        Default value params: string[] = []
        +
      • +
      +

      Returns Layer

      +
    • +
    +
    +
    +
    +

    Properties

    +
    + +

    children

    +
    children: Children
    + +
    +
    + +

    handlers

    +
    handlers: Handlers
    + +
    +
    + +

    kind

    +
    kind: number
    + +
    +
    + +

    options

    +
    options: Options
    + +
    +
    + +

    parametricBrother

    +
    parametricBrother: Layer | null = null
    + +
    +
    + +

    params

    +
    params: string[]
    + +
    +
    + +

    paramsLength

    +
    paramsLength: number
    + +
    +
    + +

    prefix

    +
    prefix: string
    + +
    +
    + +

    regex

    +
    regex: RegExp | null
    + +
    +
    + +

    wildcardChild

    +
    wildcardChild: Layer | null = null
    + +
    +
    + +

    Static Handlers

    +
    Handlers: Function = Handlers
    + +
    +
    + +

    Static TYPES

    +
    TYPES: object = TYPES
    + +
    +

    Type declaration

    +
      +
    • +
      MATCH_ALL: number
      +
    • +
    • +
      MULTI_PARAM: number
      +
    • +
    • +
      PARAM: number
      +
    • +
    • +
      REGEX: number
      +
    • +
    • +
      STATIC: number
      +
    • +
    +
    +
    +
    +
    +

    Accessors

    +
    + +

    label

    +
      +
    • get label(): string
    • +
    + +
    +
    + +

    numberOfChildren

    +
      +
    • get numberOfChildren(): number
    • +
    + +
    +
    +
    +

    Methods

    +
    + +

    addChild

    +
      +
    • addChild(layer: Layer): this
    • +
    + +
    +
    + +

    addHandler

    + + +
    +
    + +

    findByLabel

    +
      +
    • findByLabel(path: string): undefined | Layer
    • +
    + +
    +
    + +

    findChild

    +
      +
    • findChild(path: string, method: Method): null | Layer
    • +
    + +
    +
    + +

    getHandler

    +
      +
    • getHandler(method: Method): object
    • +
    + +
    +
    + +

    prettyPrint

    +
      +
    • prettyPrint(prefix: string, tail?: boolean): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        prefix: string
        +
      • +
      • +
        Default value tail: boolean = false
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    reset

    +
      +
    • reset(prefix?: string): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Default value prefix: string = "/"
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    Static isLayer

    +
      +
    • isLayer(arg: any): boolean
    • +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/request.html b/docs/classes/request.html index 697be24..6895065 100644 --- a/docs/classes/request.html +++ b/docs/classes/request.html @@ -99,12 +99,12 @@

    Constructors

    Properties

    • connection
    • -
    • head
    • headers
    • httpVersion
    • httpVersionMajor
    • httpVersionMinor
    • method
    • +
    • params
    • query
    • rawHeaders
    • rawTrailers
    • @@ -122,10 +122,8 @@

      Properties

      Accessors

      @@ -146,6 +144,7 @@

      Methods

    • eventNames
    • get
    • getMaxListeners
    • +
    • head
    • is
    • isPaused
    • listenerCount
    • @@ -167,7 +166,7 @@

      Methods

    • setEncoding
    • setMaxListeners
    • setTimeout
    • -
    • unpipe
    • +
    • unpipe
    • unshift
    • wrap
    • listenerCount
    • @@ -190,7 +189,7 @@

      constructor

      Inherited from IncomingMessage.__constructor

      Overrides Readable.__constructor

        -
      • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1200
      • +
      • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1215

      Parameters

      @@ -213,27 +212,10 @@

      connection

      -
      - -

      head

      -
      head: get = this.get
      - -
      -
      -
      alias
      -

      get

      -
      -
      -
      -

      headers

      @@ -241,7 +223,7 @@

      headers

      @@ -252,7 +234,7 @@

      httpVersion

      @@ -263,7 +245,7 @@

      httpVersionMajor

      @@ -274,7 +256,7 @@

      httpVersionMinor

      @@ -285,7 +267,7 @@

      Optional method

      @@ -294,13 +276,23 @@

      Optional method

      +
      + +

      params

      +
      params: object
      + +

      query

      query: any
      @@ -311,7 +303,7 @@

      rawHeaders

      @@ -322,7 +314,7 @@

      rawTrailers

      @@ -333,7 +325,7 @@

      readable

      @@ -344,7 +336,7 @@

      readableHighWaterMark

      @@ -355,7 +347,7 @@

      readableLength

      @@ -366,7 +358,7 @@

      socket

      @@ -377,7 +369,7 @@

      Optional statusCode

      @@ -393,7 +385,7 @@

      Optional statusMessage

      Inherited from IncomingMessage.statusMessage

        -
      • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1227
      • +
      • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1242
      @@ -409,7 +401,7 @@

      trailers

      @@ -428,7 +420,7 @@

      Optional url

      @@ -444,37 +436,13 @@

      Static defaultMaxListe

      Accessors

      -
      - -

      fresh

      -
        -
      • get fresh(): boolean
      • -
      -
        -
      • - -
        -
        -

        Check if the request is fresh, aka - Last-Modified and/or the ETag - still match.

        -
        -
        -

        Returns boolean

        -
      • -
      -

      hostname

      @@ -485,7 +453,7 @@

      hostname

    • @@ -513,7 +481,7 @@

      path

    • @@ -525,30 +493,6 @@

      Returns any

    -
    - -

    stale

    -
      -
    • get stale(): boolean
    • -
    -
      -
    • - -
      -
      -

      Check if the request is stale, aka - "Last-Modified" and / or the "ETag" for the - resource has changed.

      -
      -
      -

      Returns boolean

      -
    • -
    -

    subdomains

    @@ -559,7 +503,7 @@

    subdomains

  • @@ -587,7 +531,7 @@

    xhr

  • @@ -613,7 +557,7 @@

    __@asyncIterator

    Returns AsyncIterableIterator<any>

    @@ -631,7 +575,7 @@

    _destroy

    Parameters

    @@ -676,7 +620,7 @@

    _read

    Parameters

    @@ -699,7 +643,7 @@

    accepts

  • @@ -766,7 +710,7 @@

    acceptsCharsets

  • @@ -800,7 +744,7 @@

    acceptsEncodings

  • @@ -833,7 +777,7 @@

    acceptsLanguages

  • @@ -874,7 +818,7 @@

    addListener

    Inherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6109
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6379
    @@ -918,7 +862,7 @@

    Returns thisInherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6110
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6380

    Parameters

    @@ -955,7 +899,7 @@

    Returns thisInherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6111
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6381

    Parameters

    @@ -986,7 +930,7 @@

    Returns thisInherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6112
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6382

    Parameters

    @@ -1017,7 +961,7 @@

    Returns thisInherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6113
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6383

    Parameters

    @@ -1054,7 +998,7 @@

    Returns thisInherited from Readable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6114
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6384

    Parameters

    @@ -1100,7 +1044,7 @@

    destroy

    Inherited from IncomingMessage.destroy

    Overrides Readable.destroy

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1229
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1244

    Parameters

    @@ -1130,7 +1074,7 @@

    emit

    Inherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6116
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6386

    Parameters

    @@ -1146,7 +1090,7 @@

    Returns booleanInherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6117
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6387

    Parameters

    @@ -1165,7 +1109,7 @@

    Returns booleanInherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6118
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6388

    Parameters

    @@ -1181,7 +1125,7 @@

    Returns booleanInherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6119
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6389

    Parameters

    @@ -1197,7 +1141,7 @@

    Returns booleanInherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6120
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6390

    Parameters

    @@ -1216,7 +1160,7 @@

    Returns booleanInherited from Readable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6121
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6391

    Parameters

    @@ -1244,7 +1188,7 @@

    eventNames

    Inherited from EventEmitter.eventNames

    Overrides EventEmitter.eventNames

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1044
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1063

    Returns Array<string | symbol>

    @@ -1261,7 +1205,7 @@

    get

  • @@ -1304,13 +1248,48 @@

    getMaxListeners

    Inherited from EventEmitter.getMaxListeners

    Overrides EventEmitter.getMaxListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1040
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1059

    Returns number

  • +
    + +

    head

    +
      +
    • head(name: string): string | string[] | undefined
    • +
    +
      +
    • + +
      +
      +
      alias
      +

      get

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        name: string
        +
      • +
      +

      Returns string + | + string[] + | + undefined +

      +
    • +
    +

    is

    @@ -1321,7 +1300,7 @@

    is

  • @@ -1371,7 +1350,7 @@

    isPaused

    Returns boolean

    @@ -1390,7 +1369,7 @@

    listenerCount

    Inherited from EventEmitter.listenerCount

    Overrides EventEmitter.listenerCount

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1045
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1064

    Parameters

    @@ -1415,7 +1394,7 @@

    listeners

    Inherited from EventEmitter.listeners

    Overrides EventEmitter.listeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1041
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1060

    Parameters

    @@ -1440,7 +1419,7 @@

    off

    Inherited from EventEmitter.off

    Overrides EventEmitter.off

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1037
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1056

    Parameters

    @@ -1491,7 +1470,7 @@

    on

    Inherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6123
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6393

    Parameters

    @@ -1522,7 +1501,7 @@

    Returns thisInherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6124
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6394

    Parameters

    @@ -1559,7 +1538,7 @@

    Returns thisInherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6125
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6395

    Parameters

    @@ -1590,7 +1569,7 @@

    Returns thisInherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6126
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6396

    Parameters

    @@ -1621,7 +1600,7 @@

    Returns thisInherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6127
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6397

    Parameters

    @@ -1658,7 +1637,7 @@

    Returns thisInherited from Readable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6128
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6398

    Parameters

    @@ -1709,7 +1688,7 @@

    once

    Inherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6130
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6400

    Parameters

    @@ -1740,7 +1719,7 @@

    Returns thisInherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6131
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6401

    Parameters

    @@ -1777,7 +1756,7 @@

    Returns thisInherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6132
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6402

    Parameters

    @@ -1808,7 +1787,7 @@

    Returns thisInherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6133
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6403

    Parameters

    @@ -1839,7 +1818,7 @@

    Returns thisInherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6134
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6404

    Parameters

    @@ -1876,7 +1855,7 @@

    Returns thisInherited from Readable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6135
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6405

    Parameters

    @@ -1921,7 +1900,7 @@

    pause

    Returns this

    @@ -1939,7 +1918,7 @@

    pipe

    Type parameters

    @@ -1978,7 +1957,7 @@

    prependListener

    Inherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6137
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6407

    Parameters

    @@ -2009,7 +1988,7 @@

    Returns thisInherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6138
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6408

    Parameters

    @@ -2046,7 +2025,7 @@

    Returns thisInherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6139
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6409

    Parameters

    @@ -2077,7 +2056,7 @@

    Returns thisInherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6140
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6410

    Parameters

    @@ -2108,7 +2087,7 @@

    Returns thisInherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6141
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6411

    Parameters

    @@ -2145,7 +2124,7 @@

    Returns thisInherited from Readable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6142
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6412

    Parameters

    @@ -2196,7 +2175,7 @@

    prependOnceListener

    Inherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6144
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6414

    Parameters

    @@ -2227,7 +2206,7 @@

    Returns thisInherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6145
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6415

    Parameters

    @@ -2264,7 +2243,7 @@

    Returns thisInherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6146
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6416

    Parameters

    @@ -2295,7 +2274,7 @@

    Returns thisInherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6147
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6417

    Parameters

    @@ -2326,7 +2305,7 @@

    Returns thisInherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6148
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6418

    Parameters

    @@ -2363,7 +2342,7 @@

    Returns thisInherited from Readable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6149
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6419

    Parameters

    @@ -2408,7 +2387,7 @@

    push

    Parameters

    @@ -2434,7 +2413,7 @@

    range

  • @@ -2483,7 +2462,7 @@

    rawListeners

    Inherited from EventEmitter.rawListeners

    Overrides EventEmitter.rawListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1042
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1061

    Parameters

    @@ -2507,7 +2486,7 @@

    read

    Parameters

    @@ -2532,7 +2511,7 @@

    removeAllListeners

    Inherited from EventEmitter.removeAllListeners

    Overrides EventEmitter.removeAllListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1038
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1057

    Parameters

    @@ -2562,7 +2541,7 @@

    removeListener

    Inherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6151
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6421

    Parameters

    @@ -2593,7 +2572,7 @@

    Returns thisInherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6152
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6422

    Parameters

    @@ -2630,7 +2609,7 @@

    Returns thisInherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6153
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6423

    Parameters

    @@ -2661,7 +2640,7 @@

    Returns thisInherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6154
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6424

    Parameters

    @@ -2692,7 +2671,7 @@

    Returns thisInherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6155
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6425

    Parameters

    @@ -2729,7 +2708,7 @@

    Returns thisInherited from Readable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6156
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6426

    Parameters

    @@ -2774,7 +2753,7 @@

    resume

    Returns this

    @@ -2792,7 +2771,7 @@

    setEncoding

    Parameters

    @@ -2817,7 +2796,7 @@

    setMaxListeners

    Inherited from EventEmitter.setMaxListeners

    Overrides EventEmitter.setMaxListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1039
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1058

    Parameters

    @@ -2841,7 +2820,7 @@

    setTimeout

    Parameters

    @@ -2869,30 +2848,24 @@

    Returns this

  • -
    +

    unpipe

    -
      -
    • unpipe<T>(destination?: T): this
    • +
        +
      • unpipe(destination?: NodeJS.WritableStream): this
      • -

        Type parameters

        -
          -
        • -

          T: WritableStream

          -
        • -

        Parameters

        • -
          Optional destination: T
          +
          Optional destination: NodeJS.WritableStream

        Returns this

        @@ -2910,7 +2883,7 @@

        unshift

        Parameters

        @@ -2934,7 +2907,7 @@

        wrap

        Parameters

        @@ -2958,7 +2931,7 @@

        Static listenerCount

        @@ -2993,18 +2966,6 @@

        Returns number

        diff --git a/docs/classes/response.html b/docs/classes/response.html index ff0be49..370f81e 100644 --- a/docs/classes/response.html +++ b/docs/classes/response.html @@ -95,20 +95,17 @@

        Constructors

      • constructor
    -
    +

    Properties

    +
    +

    Accessors

    + +

    Methods

      @@ -141,6 +145,7 @@

      Methods

    • eventNames
    • flushHeaders
    • format
    • +
    • get
    • getHeader
    • getHeaderNames
    • getHeaders
    • @@ -168,11 +173,13 @@

      Methods

    • send
    • sendFile
    • sendStatus
    • +
    • set
    • setDefaultEncoding
    • setHeader
    • setMaxListeners
    • setTimeout
    • status
    • +
    • type
    • uncork
    • vary
    • write
    • @@ -198,7 +205,7 @@

      constructor

      Inherited from ServerResponse.__constructor

      Overrides OutgoingMessage.__constructor

        -
      • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1172
      • +
      • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1187

      Parameters

      @@ -212,7 +219,7 @@

      Returns +

      Properties

      @@ -221,7 +228,7 @@

      chunkedEncoding

      @@ -232,7 +239,7 @@

      connection

      @@ -243,30 +250,10 @@

      finished

    -
    - -

    get

    -
    get: getHeader = this.getHeader
    - -
    -
    -

    Get value for header field.

    -
    -
    -
    alias
    -

    getHeader

    -
    -
    -
    -

    headersSent

    @@ -274,7 +261,7 @@

    headersSent

    @@ -285,26 +272,9 @@

    sendDate

    -
    -
    - -

    set

    -
    set: header = this.header
    - -
    -
    -
    alias
    -

    header

    -
    -
    -
    @@ -313,7 +283,7 @@

    shouldKeepAlive

    @@ -324,7 +294,7 @@

    statusCode

    @@ -335,27 +305,10 @@

    statusMessage

    -
    - -

    type

    -
    type: contentType = this.contentType
    - -
    -
    -
    alias
    -

    contentType

    -
    -
    -
    -

    upgrading

    @@ -363,7 +316,7 @@

    upgrading

    @@ -374,7 +327,7 @@

    useChunkedEncodingByDefault

    @@ -385,7 +338,7 @@

    writable

    @@ -396,7 +349,7 @@

    writableHighWaterMark

    @@ -407,7 +360,7 @@

    writableLength

    @@ -418,11 +371,62 @@

    Static defaultMaxListe +
    +

    Accessors

    +
    + +

    fresh

    +
      +
    • get fresh(): boolean
    • +
    +
      +
    • + +
      +
      +

      Check if the request is fresh, aka + Last-Modified and/or the ETag + still match.

      +
      +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    stale

    +
      +
    • get stale(): boolean
    • +
    +
      +
    • + +
      +
      +

      Check if the request is stale, aka + "Last-Modified" and / or the "ETag" for the + resource has changed.

      +
      +
      +

      Returns boolean

      +
    • +
    +
    +

    Methods

    @@ -436,7 +440,7 @@

    _destroy

    Parameters

    @@ -481,7 +485,7 @@

    _final

    Parameters

    @@ -523,7 +527,7 @@

    _write

    Parameters

    @@ -571,7 +575,7 @@

    Optional _writev

    Parameters

    @@ -623,7 +627,7 @@

    addListener

    Inherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6200
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6470
    @@ -668,7 +672,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6201
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6471

    Parameters

    @@ -699,7 +703,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6202
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6472

    Parameters

    @@ -736,7 +740,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6203
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6473

    Parameters

    @@ -767,7 +771,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6204
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6474

    Parameters

    @@ -804,7 +808,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6205
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6475

    Parameters

    @@ -841,7 +845,7 @@

    Returns thisInherited from Writable.addListener

    Overrides EventEmitter.addListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6206
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6476

    Parameters

    @@ -886,7 +890,7 @@

    addTrailers

    Parameters

    @@ -909,7 +913,7 @@

    append

  • @@ -948,7 +952,7 @@

    assignSocket

    Parameters

    @@ -971,7 +975,7 @@

    attachment

  • @@ -999,7 +1003,7 @@

    clearCookie

  • @@ -1031,7 +1035,7 @@

    contentType

  • @@ -1071,7 +1075,7 @@

    cookie

  • @@ -1119,7 +1123,7 @@

    cork

    Returns void

    @@ -1137,7 +1141,7 @@

    destroy

    Parameters

    @@ -1161,7 +1165,7 @@

    detachSocket

    Parameters

    @@ -1184,7 +1188,7 @@

    download

  • @@ -1238,7 +1242,7 @@

    emit

    Inherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6208
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6478

    Parameters

    @@ -1254,7 +1258,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6209
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6479

    Parameters

    @@ -1270,7 +1274,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6210
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6480

    Parameters

    @@ -1289,7 +1293,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6211
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6481

    Parameters

    @@ -1305,7 +1309,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6212
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6482

    Parameters

    @@ -1324,7 +1328,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6213
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6483

    Parameters

    @@ -1343,7 +1347,7 @@

    Returns booleanInherited from Writable.emit

    Overrides EventEmitter.emit

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6214
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6484

    Parameters

    @@ -1372,7 +1376,7 @@

    end

    Parameters

    @@ -1387,7 +1391,7 @@

    Returns void

    Inherited from Writable.end

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6184
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6454

    Parameters

    @@ -1405,7 +1409,7 @@

    Returns void

    Inherited from Writable.end

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6185
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6455

    Parameters

    @@ -1436,7 +1440,7 @@

    eventNames

    Inherited from EventEmitter.eventNames

    Overrides EventEmitter.eventNames

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1044
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1063

    Returns Array<string | symbol>

    @@ -1454,7 +1458,7 @@

    flushHeaders

    Returns void

    @@ -1471,7 +1475,7 @@

    format

  • @@ -1532,6 +1536,46 @@

    Returns this

  • +
    + +

    get

    +
      +
    • get(name: string): number | string | string[] | undefined
    • +
    +
      +
    • + +
      +
      +

      Get value for header field.

      +
      +
      +
      alias
      +

      getHeader

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        name: string
        +
      • +
      +

      Returns number + | + string + | + string[] + | + undefined +

      +
    • +
    +

    getHeader

    @@ -1543,7 +1587,7 @@

    getHeader

    Parameters

    @@ -1574,7 +1618,7 @@

    getHeaderNames

    Returns string[]

    @@ -1592,7 +1636,7 @@

    getHeaders

    Returns OutgoingHttpHeaders

    @@ -1611,7 +1655,7 @@

    getMaxListeners

    Inherited from EventEmitter.getMaxListeners

    Overrides EventEmitter.getMaxListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1040
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1059

    Returns number

    @@ -1629,7 +1673,7 @@

    hasHeader

    Parameters

    @@ -1652,7 +1696,7 @@

    header

  • @@ -1691,7 +1735,7 @@

    json

  • @@ -1724,7 +1768,7 @@

    jsonp

  • @@ -1757,7 +1801,7 @@

    links

  • @@ -1792,7 +1836,7 @@

    listenerCount

    Inherited from EventEmitter.listenerCount

    Overrides EventEmitter.listenerCount

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1045
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1064

    Parameters

    @@ -1817,7 +1861,7 @@

    listeners

    Inherited from EventEmitter.listeners

    Overrides EventEmitter.listeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1041
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1060

    Parameters

    @@ -1840,7 +1884,7 @@

    location

  • @@ -1879,7 +1923,7 @@

    off

    Inherited from EventEmitter.off

    Overrides EventEmitter.off

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1037
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1056

    Parameters

    @@ -1931,7 +1975,7 @@

    on

    Inherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6216
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6486

    Parameters

    @@ -1962,7 +2006,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6217
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6487

    Parameters

    @@ -1993,7 +2037,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6218
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6488

    Parameters

    @@ -2030,7 +2074,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6219
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6489

    Parameters

    @@ -2061,7 +2105,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6220
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6490

    Parameters

    @@ -2098,7 +2142,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6221
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6491

    Parameters

    @@ -2135,7 +2179,7 @@

    Returns thisInherited from Writable.on

    Overrides EventEmitter.on

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6222
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6492

    Parameters

    @@ -2187,7 +2231,7 @@

    once

    Inherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6224
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6494

    Parameters

    @@ -2218,7 +2262,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6225
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6495

    Parameters

    @@ -2249,7 +2293,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6226
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6496

    Parameters

    @@ -2286,7 +2330,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6227
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6497

    Parameters

    @@ -2317,7 +2361,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6228
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6498

    Parameters

    @@ -2354,7 +2398,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6229
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6499

    Parameters

    @@ -2391,7 +2435,7 @@

    Returns thisInherited from Writable.once

    Overrides EventEmitter.once

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6230
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6500

    Parameters

    @@ -2436,7 +2480,7 @@

    pipe

    Type parameters

    @@ -2476,7 +2520,7 @@

    prependListener

    Inherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6232
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6502

    Parameters

    @@ -2507,7 +2551,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6233
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6503

    Parameters

    @@ -2538,7 +2582,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6234
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6504

    Parameters

    @@ -2575,7 +2619,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6235
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6505

    Parameters

    @@ -2606,7 +2650,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6236
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6506

    Parameters

    @@ -2643,7 +2687,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6237
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6507

    Parameters

    @@ -2680,7 +2724,7 @@

    Returns thisInherited from Writable.prependListener

    Overrides EventEmitter.prependListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6238
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6508

    Parameters

    @@ -2732,7 +2776,7 @@

    prependOnceListener

    Inherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6240
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6510

    Parameters

    @@ -2763,7 +2807,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6241
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6511

    Parameters

    @@ -2794,7 +2838,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6242
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6512

    Parameters

    @@ -2831,7 +2875,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6243
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6513

    Parameters

    @@ -2862,7 +2906,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6244
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6514

    Parameters

    @@ -2899,7 +2943,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6245
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6515

    Parameters

    @@ -2936,7 +2980,7 @@

    Returns thisInherited from Writable.prependOnceListener

    Overrides EventEmitter.prependOnceListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6246
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6516

    Parameters

    @@ -2982,7 +3026,7 @@

    rawListeners

    Inherited from EventEmitter.rawListeners

    Overrides EventEmitter.rawListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1042
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1061

    Parameters

    @@ -3005,7 +3049,7 @@

    redirect

  • @@ -3050,7 +3094,7 @@

    removeAllListeners

    Inherited from EventEmitter.removeAllListeners

    Overrides EventEmitter.removeAllListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1038
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1057

    Parameters

    @@ -3074,7 +3118,7 @@

    removeHeader

    Parameters

    @@ -3105,7 +3149,7 @@

    removeListener

    Inherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6248
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6518

    Parameters

    @@ -3136,7 +3180,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6249
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6519

    Parameters

    @@ -3167,7 +3211,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6250
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6520

    Parameters

    @@ -3204,7 +3248,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6251
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6521

    Parameters

    @@ -3235,7 +3279,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6252
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6522

    Parameters

    @@ -3272,7 +3316,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6253
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6523

    Parameters

    @@ -3309,7 +3353,7 @@

    Returns thisInherited from Writable.removeListener

    Overrides EventEmitter.removeListener

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6254
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6524

    Parameters

    @@ -3353,7 +3397,7 @@

    render

  • Parameters

    @@ -3382,7 +3426,7 @@

    send

  • @@ -3416,7 +3460,7 @@

    sendFile

  • @@ -3481,7 +3525,7 @@

    sendStatus

  • @@ -3504,6 +3548,39 @@

    Returns this

  • +
    + +

    set

    +
      +
    • set(field: string | any, val?: string | string[]): this
    • +
    +
      +
    • + +
      +
      +
      alias
      +

      header

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        field: string | any
        +
      • +
      • +
        Optional val: string | string[]
        +
      • +
      +

      Returns this

      +
    • +
    +

    setDefaultEncoding

    @@ -3515,7 +3592,7 @@

    setDefaultEncoding

    Parameters

    @@ -3539,7 +3616,7 @@

    setHeader

    Parameters

    @@ -3567,7 +3644,7 @@

    setMaxListeners

    Inherited from EventEmitter.setMaxListeners

    Overrides EventEmitter.setMaxListeners

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1039
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1058

    Parameters

    @@ -3591,7 +3668,7 @@

    setTimeout

    Parameters

    @@ -3617,7 +3694,7 @@

    status

  • @@ -3637,6 +3714,36 @@

    Returns this

  • +
    + +

    type

    +
      +
    • type(type: string): this
    • +
    +
      +
    • + +
      +
      +
      alias
      +

      contentType

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        type: string
        +
      • +
      +

      Returns this

      +
    • +
    +

    uncork

    @@ -3648,7 +3755,7 @@

    uncork

    Returns void

    @@ -3665,7 +3772,7 @@

    vary

  • @@ -3697,7 +3804,7 @@

    write

    Parameters

    @@ -3715,7 +3822,7 @@

    Returns boolean

    Inherited from Writable.write

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6181
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:6451

    Parameters

    @@ -3745,7 +3852,7 @@

    writeContinue

    Parameters

    @@ -3770,7 +3877,7 @@

    writeHead

    Parameters

    @@ -3791,7 +3898,7 @@

    Returns void

    Inherited from ServerResponse.writeHead

      -
    • Defined in /home/ardalan/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1182
    • +
    • Defined in /home/phantom/Projects/Github/foxifyjs/foxify/node_modules/@types/node/index.d.ts:1197

    Parameters

    @@ -3818,7 +3925,7 @@

    Static listenerCount

    @@ -3853,21 +3960,6 @@

    Returns number

    diff --git a/docs/classes/route.html b/docs/classes/route.html index d8d7356..c00dee3 100644 --- a/docs/classes/route.html +++ b/docs/classes/route.html @@ -173,7 +173,7 @@

    Static Controller

    Controller: function
    @@ -225,7 +225,7 @@

    Static JsonSchemaType<
    JsonSchemaType: "string" | "integer" | "number" | "array" | "object" | "boolean" | "null"

  • @@ -235,7 +235,7 @@

    Static MethodFunction

    MethodFunction: function
    @@ -279,7 +279,7 @@

    constructor

  • @@ -306,7 +306,7 @@

    Protected _prefix

    _prefix: string
  • @@ -316,7 +316,7 @@

    Protected _routes

    _routes: Routes = {} as Route.Routes
    @@ -327,7 +327,7 @@

    checkout

    @@ -338,7 +338,7 @@

    connect

    @@ -349,7 +349,7 @@

    copy

    @@ -360,7 +360,7 @@

    delete

    @@ -371,7 +371,7 @@

    get

    @@ -382,7 +382,7 @@

    head

    @@ -393,7 +393,7 @@

    lock

    @@ -404,7 +404,7 @@

    m-search

    @@ -415,7 +415,7 @@

    merge

    @@ -426,7 +426,7 @@

    mkactivity

    @@ -437,7 +437,7 @@

    mkcol

    @@ -448,7 +448,7 @@

    move

    @@ -459,7 +459,7 @@

    notify

    @@ -470,7 +470,7 @@

    options

    @@ -481,7 +481,7 @@

    patch

    @@ -492,7 +492,7 @@

    post

    @@ -503,7 +503,7 @@

    propfind

    @@ -514,7 +514,7 @@

    proppatch

    @@ -525,7 +525,7 @@

    purge

    @@ -536,7 +536,7 @@

    put

    @@ -547,7 +547,7 @@

    report

    @@ -558,7 +558,7 @@

    search

    @@ -569,7 +569,7 @@

    subscribe

    @@ -580,7 +580,7 @@

    trace

    @@ -591,7 +591,7 @@

    unlock

    @@ -602,7 +602,7 @@

    unsubscribe

    @@ -619,7 +619,7 @@

    routes

  • Returns Routes

    @@ -639,7 +639,7 @@

    Protected _push

  • Parameters

    @@ -671,7 +671,7 @@

    any

  • Parameters

    @@ -700,7 +700,7 @@

    oneOf

  • Parameters

    @@ -732,7 +732,7 @@

    use

  • Parameters

    @@ -761,7 +761,7 @@

    Static isRoute

  • Parameters

    @@ -786,24 +786,6 @@

    Returns boolean diff --git a/docs/classes/router.html b/docs/classes/router.html index 23ffde3..58cc3b1 100644 --- a/docs/classes/router.html +++ b/docs/classes/router.html @@ -59,18 +59,31 @@ Router

  • -

    Class Router

    +

    Class Router<T>

    +
    +

    Type parameters

    +
      +
    • +

      T

      +
    • +
    +

    Hierarchy

    @@ -78,88 +91,853 @@

    Hierarchy

    Index

    +
    + +
    +

    Type aliases

    +
    + +

    Static MethodFunction

    +
    MethodFunction: function
    + +
    +

    Type declaration

    + +
    +
    +
    + +

    Static PathMethodFunction

    +
    PathMethodFunction: function
    + +
    +

    Type declaration

    + +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    +
      +
    • new Router(prefix?: string): Router
    • +
    + +
    +
    +
    +

    Properties

    +
    + +

    Protected _routes

    +
    _routes: Routes = {} as Route.Routes
    + +
    +
    + +

    Protected _safeNext

    +
    _safeNext: Encapsulation = new Encapsulation(this._next)
    + +
    +
    + +

    allowUnsafeRegex

    +
    allowUnsafeRegex: boolean = false
    + +
    +
    + +

    caseSensitive

    +
    caseSensitive: boolean = true
    + +
    +
    + +

    checkout

    +
    checkout: MethodFunction<T>
    + +
    +
    + +

    connect

    +
    connect: MethodFunction<T>
    + +
    +
    + +

    copy

    + + +
    +
    + +

    delete

    +
    delete: MethodFunction<T>
    + +
    +
    + +

    get

    + + +
    +
    + +

    head

    + + +
    +
    + +

    ignoreTrailingSlash

    +
    ignoreTrailingSlash: boolean = false
    + +
    +
    + +

    lock

    + + +
    +
    + +

    m-search

    +
    m-search: MethodFunction<T>
    + +
    +
    + +

    maxParamLength

    +
    maxParamLength: number = 100
    + +
    +
    + +

    merge

    +
    merge: MethodFunction<T>
    + +
    +
    + +

    middlewares

    +
    middlewares: Middleware[] = []
    + +
    +
    + +

    mkactivity

    +
    mkactivity: MethodFunction<T>
    + +
    +
    + +

    mkcol

    +
    mkcol: MethodFunction<T>
    + +
    +
    + +

    move

    + + +
    +
    + +

    notify

    +
    notify: MethodFunction<T>
    + +
    +
    + +

    options

    +
    options: MethodFunction<T>
    + +
    +
    + +

    params

    +
    params: Params
    + +
    +
    + +

    patch

    +
    patch: MethodFunction<T>
    + +
    +
    + +

    post

    + + +
    +
    + +

    prefix

    +
    prefix: string
    + +
    +
    + +

    propfind

    +
    propfind: MethodFunction<T>
    + +
    +
    + +

    proppatch

    +
    proppatch: MethodFunction<T>
    + +
    +
    + +

    purge

    +
    purge: MethodFunction<T>
    + +
    +
    + +

    put

    + + +
    +
    + +

    report

    +
    report: MethodFunction<T>
    + +
    +
    + +

    routes

    +
    routes: Route[] = []
    + +
    +
    + +

    search

    +
    search: MethodFunction<T>
    + +
    +
    + +

    subscribe

    +
    subscribe: MethodFunction<T>
    + +
    +
    + +

    trace

    +
    trace: MethodFunction<T>
    + +
    +
    + +

    tree

    +
    tree: Layer = new Layer()
    + +
    +
    + +

    unlock

    +
    unlock: MethodFunction<T>
    + +
    +
    + +

    unsubscribe

    +
    unsubscribe: MethodFunction<T>
    + +
    +
    +
    +

    Methods

    +
    + +

    Protected _insert

    +
      +
    • _insert(method: Method, path: string, kind: number, options?: RouteOptions, params: string[] | undefined, handlers?: Handler[], regex: RegExp | null): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        method: Method
        +
      • +
      • +
        path: string
        +
      • +
      • +
        kind: number
        +
      • +
      • +
        Default value options: RouteOptions = { schema: {} }
        +
      • +
      • +
        params: string[] | undefined
        +
      • +
      • +
        Default value handlers: Handler[] = []
        +
      • +
      • +
        regex: RegExp | null
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    Protected _next

    + + +
    +
    + +

    Protected _on

    + + +
    +
    + +

    Private _use

    +
      +
    • _use(...handlers: Handler[]): this
    • +
    + +
    +
    + +

    all

    +
      +
    • all(path: string, ...handlers: Handler[]): any
    • +
    +
    -
    +

    Returns any

    +

  • + - -
    -

    Constructors

    -
    - -

    constructor

    -
    -
    -

    Properties

    -
    - -

    Protected _routes

    -
    _routes: Routes = {} as Route.Routes
    - -
    -
    - -

    Protected _safeNext

    -
    _safeNext: Encapsulation = new Encapsulation(this._next)
    - +
    + +

    initialize

    +
      +
    • initialize(app: Foxify): this
    • +
    +
    -
    -
    -

    Methods

    -
    - -

    Protected _next

    - +
    +
    + +

    on

    + +
    - -

    initialize

    + +

    param

      -
    • initialize(app: Fox): void
    • +
    • param(param: string, handler: Handler): this
    @@ -220,7 +1021,7 @@

    prepend

  • Parameters

    @@ -233,6 +1034,23 @@

    Returns void

  • +
    + +

    prettyPrint

    +
      +
    • prettyPrint(): string
    • +
    + +

    push

    @@ -243,7 +1061,7 @@

    push

  • Parameters

    @@ -257,28 +1075,91 @@

    Returns void

  • - + +

    reset

    +
      +
    • reset(): this
    • +
    + +
    +
    +

    route

    +
    +
    + +

    use

    + + +
    +
    + +

    Static isRouter

    +
      +
    • isRouter(arg: any): boolean
    • +
    +
    @@ -294,32 +1175,32 @@

    Returns void diff --git a/docs/classes/server.html b/docs/classes/server.html index 035219f..677d562 100644 --- a/docs/classes/server.html +++ b/docs/classes/server.html @@ -116,6 +116,7 @@

    Accessors

    Methods

    @@ -242,7 +243,7 @@

    Private _instance: Server | Server

    @@ -252,7 +253,7 @@

    Protected _listening

    _listening: boolean = false
    @@ -262,7 +263,7 @@

    Protected _port

    _port: number
    @@ -279,7 +280,7 @@

    listening

  • Returns boolean

    @@ -289,6 +290,68 @@

    Returns boolean

    Methods

    +
    + +

    on

    + + +

    reload

    @@ -299,7 +362,7 @@

    reload

  • Parameters

    @@ -322,7 +385,7 @@

    start

  • Parameters

    @@ -345,7 +408,7 @@

    stop

  • Parameters

    @@ -370,30 +433,6 @@

    Returns this diff --git a/docs/globals.html b/docs/globals.html index 7fba6a8..b4daea1 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -78,20 +78,35 @@

    Classes

  • -
    +
    +

    Type aliases

    + +
    +

    Variables

    @@ -99,12 +114,18 @@

    Variables

    Functions

    -
    +
    +

    Type aliases

    +
    + +

    Method

    +
    Method: "ACL" | "BIND" | "CHECKOUT" | "CONNECT" | "COPY" | "DELETE" | "GET" | "HEAD" | "LINK" | "LOCK" | "M-SEARCH" | "MERGE" | "MKACTIVITY" | "MKCALENDAR" | "MKCOL" | "MOVE" | "NOTIFY" | "OPTIONS" | "PATCH" | "POST" | "PROPFIND" | "PROPPATCH" | "PURGE" | "PUT" | "REBIND" | "REPORT" | "SEARCH" | "SOURCE" | "SUBSCRIBE" | "TRACE" | "UNBIND" | "UNLINK" | "UNLOCK" | "UNSUBSCRIBE"
    + +
    +
    +

    Variables

    +
    + +

    Const ERRORS

    +
    ERRORS: any = utils.object.reduce(http, (prev, code) => {prev.push(`error-${code}`);return prev;}, [])
    + +
    +
    + +

    Const EVENTS

    +
    EVENTS: string[] = ["uncaughtException", "unhandledRejection", "error"].concat(ERRORS)
    + +
    +
    + +

    Const Handlers

    +
    Handlers: Function = buildHandlers()
    + +
    +
    + +

    Const METHODS

    +
    METHODS: ("ACL" | "BIND" | "CHECKOUT" | "CONNECT" | "COPY" | "DELETE" | "GET" | "HEAD" | "LINK" | "LOCK" | "M-SEARCH" | "MERGE" | "MKACTIVITY" | "MKCALENDAR" | "MKCOL" | "MOVE" | "NOTIFY" | "OPTIONS" | "PATCH" | "POST" | "PROPFIND" | "PROPPATCH" | "PURGE" | "PUT" | "REBIND" | "REPORT" | "SEARCH" | "SOURCE" | "SUBSCRIBE" | "TRACE" | "UNBIND" | "UNLINK" | "UNLOCK" | "UNSUBSCRIBE")[] = http.METHODS as Method[]
    + +
    +
    + +

    Const NODE_TYPES

    +
    NODE_TYPES: object = Layer.TYPES
    + +
    +

    Type declaration

    +
      +
    • +
      MATCH_ALL: number
      +
    • +
    • +
      MULTI_PARAM: number
      +
    • +
    • +
      PARAM: number
      +
    • +
    • +
      REGEX: number
      +
    • +
    • +
      STATIC: number
      +
    • +
    +
    +
    +
    + +

    Const SETTINGS

    +
    SETTINGS: string[] = ["env", "url", "port", "workers", "https.cert", "https.key", "json.spaces","json.replacer", "query.parser", "routing.max-param-length"]
    + +

    Const STATUS_CODES

    STATUS_CODES: object = http.STATUS_CODES
    @@ -145,7 +262,17 @@

    Const charsetRegExp

    charsetRegExp: RegExp = /;\s*charset\s*=/
    +
    +
    + +

    Const Export assignment eventEmitter

    +
    eventEmitter: EventEmitter = new EventEmitter()
    +
    @@ -155,7 +282,7 @@

    Const resolve

    resolve: resolve = path.resolve
    @@ -172,7 +299,7 @@

    Const acceptParams

  • @@ -214,6 +341,29 @@
    value: + +

    Const buildHandlers

    +
      +
    • buildHandlers(handlers?: any): Function
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional handlers: any
        +
      • +
      +

      Returns Function

      +
    • +
    +
  • define

    @@ -224,7 +374,7 @@

    define

  • Parameters

    @@ -264,6 +414,96 @@

    Returns void

  • +
    + +

    Const getClosingParenthensePosition

    +
      +
    • getClosingParenthensePosition(path: string, idx: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        path: string
        +
      • +
      • +
        idx: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    Const getWildcardNode

    +
      +
    • getWildcardNode(layer: Layer | null, method: Method, path: string, len: number): object | object
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        layer: Layer | null
        +
      • +
      • +
        method: Method
        +
      • +
      • +
        path: string
        +
      • +
      • +
        len: number
        +
      • +
      +

      Returns object + | + object +

      +
    • +
    +
    +
    + +

    Const handle

    + + +

    Const Export assignment init

    @@ -274,7 +514,7 @@

    Const

    Parameters

    @@ -297,7 +537,7 @@

    Const isAbsolute

  • @@ -328,7 +568,7 @@

    mixins

  • Parameters

    @@ -351,7 +591,7 @@

    Const normalizeType

  • @@ -382,7 +622,7 @@

    Const normalizeTypes

  • @@ -400,6 +640,55 @@

    Returns any

  • +
    + +

    Const pathMatchesMiddleware

    +
      +
    • pathMatchesMiddleware(path: string, middleware: string): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        path: string
        +
      • +
      • +
        middleware: string
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    Const sanitizeUrl

    +
      +
    • sanitizeUrl(url?: string): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Default value url: string = ""
        +
      • +
      +

      Returns string

      +
    • +
    +

    Const sendfile

    @@ -410,7 +699,7 @@

    Const sendfile

  • @@ -465,7 +754,7 @@

    Const setCharset

  • @@ -499,7 +788,7 @@

    Private
    @@ -530,13 +819,73 @@

    Returns string

    Object literals

    +
    + +

    Const EMPTY_HANDLE

    +
    EMPTY_HANDLE: object
    + +
    + +

    handlers

    +
    handlers: never[] = []
    + +
    +
    + +

    params

    +
    params: object
    + +
    +

    Type declaration

    +
      +
    +
    +
    +
    + +

    options

    +
    options: object
    + +
    + +

    schema

    +
    schema: object
    + +
    +

    Type declaration

    +
      +
    +
    +
    +
    +

    Const Export assignment HTTP

    HTTP: object
    @@ -552,7 +901,7 @@

    ACCEPTED

    ACCEPTED: 202 = 202 as 202
    @@ -562,7 +911,7 @@

    ALREADY_REPORTED

    ALREADY_REPORTED: 208 = 208 as 208
    @@ -572,7 +921,7 @@

    BAD_GATEWAY

    BAD_GATEWAY: 502 = 502 as 502

  • @@ -582,7 +931,7 @@

    BAD_REQUEST

    BAD_REQUEST: 400 = 400 as 400
    @@ -592,7 +941,7 @@

    CONFLICT

    CONFLICT: 409 = 409 as 409
    @@ -602,7 +951,7 @@

    CONTINUE

    CONTINUE: 100 = 100 as 100
    @@ -612,7 +961,7 @@

    CREATED

    CREATED: 201 = 201 as 201
    @@ -622,7 +971,7 @@

    EARLY_HINTS

    EARLY_HINTS: 103 = 103 as 103
    @@ -632,7 +981,7 @@

    EXPECTATION_FAILED

    EXPECTATION_FAILED: 417 = 417 as 417
    @@ -642,7 +991,7 @@

    FAILED_DEPENDENCY

    FAILED_DEPENDENCY: 424 = 424 as 424
    @@ -652,7 +1001,7 @@

    FORBIDEN

    FORBIDEN: 403 = 403 as 403
    @@ -662,7 +1011,7 @@

    FOUND

    FOUND: 302 = 302 as 302
    @@ -672,7 +1021,7 @@

    GATEWAY_TIMEOUT

    GATEWAY_TIMEOUT: 504 = 504 as 504
    @@ -682,7 +1031,7 @@

    GONE

    GONE: 410 = 410 as 410
    @@ -692,7 +1041,7 @@

    HTTP_VERSION_NOT_SUPPORTED

    HTTP_VERSION_NOT_SUPPORTED: 505 = 505 as 505
    @@ -702,7 +1051,7 @@

    IM_A_TEAPOT

    IM_A_TEAPOT: 418 = 418 as 418
    @@ -712,7 +1061,7 @@

    IM_USED

    IM_USED: 226 = 226 as 226
    @@ -722,7 +1071,7 @@

    INSUFFICIENT_STORAGE

    INSUFFICIENT_STORAGE: 507 = 507 as 507
    @@ -732,7 +1081,7 @@

    INTERNAL_SERVER_ERROR

    INTERNAL_SERVER_ERROR: 500 = 500 as 500
    @@ -742,7 +1091,7 @@

    LENGTH_REQUIRED

    LENGTH_REQUIRED: 411 = 411 as 411
    @@ -752,7 +1101,7 @@

    LOCKED

    LOCKED: 423 = 423 as 423
    @@ -762,7 +1111,7 @@

    LOOP_DETECTED

    LOOP_DETECTED: 508 = 508 as 508
    @@ -772,7 +1121,7 @@

    METHOD_NOT_ALLOWED

    METHOD_NOT_ALLOWED: 405 = 405 as 405
    @@ -782,7 +1131,7 @@

    MISDIRECET_REQUEST

    MISDIRECET_REQUEST: 421 = 421 as 421
    @@ -792,7 +1141,7 @@

    MOVED_PERMANENTLY

    MOVED_PERMANENTLY: 301 = 301 as 301
    @@ -802,7 +1151,7 @@

    MULTIPLE_CHOICES

    MULTIPLE_CHOICES: 300 = 300 as 300
    @@ -812,7 +1161,7 @@

    MULTI_STATUS

    MULTI_STATUS: 207 = 207 as 207
    @@ -822,7 +1171,7 @@

    NETWORK_AUTHENTICATION_REQUIRED

    NETWORK_AUTHENTICATION_REQUIRED: 511 = 511 as 511
    @@ -832,7 +1181,7 @@

    NON_AUTHORITATIVE_INFORMATION

    NON_AUTHORITATIVE_INFORMATION: 203 = 203 as 203
    @@ -842,7 +1191,7 @@

    NOT_ACCEPTABLE

    NOT_ACCEPTABLE: 406 = 406 as 406
    @@ -852,7 +1201,7 @@

    NOT_EXTENDED

    NOT_EXTENDED: 510 = 510 as 510
    @@ -862,7 +1211,7 @@

    NOT_FOUND

    NOT_FOUND: 404 = 404 as 404
    @@ -872,7 +1221,7 @@

    NOT_IMPLEMENTED

    NOT_IMPLEMENTED: 501 = 501 as 501
    @@ -882,7 +1231,7 @@

    NOT_MODIFIED

    NOT_MODIFIED: 304 = 304 as 304
    @@ -892,7 +1241,7 @@

    NO_CONTENT

    NO_CONTENT: 204 = 204 as 204
    @@ -902,7 +1251,7 @@

    OK

    OK: 200 = 200 as 200
    @@ -912,7 +1261,7 @@

    PARTIAL_CONTENT

    PARTIAL_CONTENT: 206 = 206 as 206
    @@ -922,7 +1271,7 @@

    PAYLOAD_TOO_LARGE

    PAYLOAD_TOO_LARGE: 413 = 413 as 413
    @@ -932,7 +1281,7 @@

    PAYMENT_REQUIRED

    PAYMENT_REQUIRED: 402 = 402 as 402
    @@ -942,7 +1291,7 @@

    PERMANENT_REDIRECT

    PERMANENT_REDIRECT: 308 = 308 as 308
    @@ -952,7 +1301,7 @@

    PRECONDITION_FAILED

    PRECONDITION_FAILED: 412 = 412 as 412
    @@ -962,7 +1311,7 @@

    PRECONDITION_REQUIRED

    PRECONDITION_REQUIRED: 428 = 428 as 428
    @@ -972,7 +1321,7 @@

    PROCESSING

    PROCESSING: 102 = 102 as 102
    @@ -982,7 +1331,7 @@

    PROXY_AUTHENTICATION_REQUIRED

    PROXY_AUTHENTICATION_REQUIRED: 407 = 407 as 407
    @@ -992,7 +1341,7 @@

    RANGE_NOT_SATISFIABLE

    RANGE_NOT_SATISFIABLE: 416 = 416 as 416
    @@ -1002,7 +1351,7 @@

    REQUEST_HEADER_FIELDS_TOO_LARGE

    REQUEST_HEADER_FIELDS_TOO_LARGE: 431 = 431 as 431
    @@ -1012,7 +1361,7 @@

    REQUEST_TIMEOUT

    REQUEST_TIMEOUT: 408 = 408 as 408
    @@ -1022,7 +1371,7 @@

    RESET_CONTENT

    RESET_CONTENT: 205 = 205 as 205
    @@ -1032,7 +1381,7 @@

    SEE_OTHER

    SEE_OTHER: 303 = 303 as 303
    @@ -1042,7 +1391,7 @@

    SERVICE_UNAVAILABLE

    SERVICE_UNAVAILABLE: 503 = 503 as 503
    @@ -1052,7 +1401,7 @@

    SWITCHING_PROTOCOL

    SWITCHING_PROTOCOL: 101 = 101 as 101
    @@ -1062,7 +1411,7 @@

    SWITCH_PROXY

    SWITCH_PROXY: 306 = 306 as 306
    @@ -1072,7 +1421,7 @@

    TEMPORARY_REDIRECT

    TEMPORARY_REDIRECT: 307 = 307 as 307
    @@ -1082,7 +1431,7 @@

    TOO_MANY_REQUESTS

    TOO_MANY_REQUESTS: 429 = 429 as 429
    @@ -1092,7 +1441,7 @@

    UNAUTHORIZED

    UNAUTHORIZED: 401 = 401 as 401
    @@ -1102,7 +1451,7 @@

    UNAVAILABLE_FOR_LEGAL_REASONS

    UNAVAILABLE_FOR_LEGAL_REASONS: 451 = 451 as 451
    @@ -1112,7 +1461,7 @@

    UNPROCESSABLE_ENTITY

    UNPROCESSABLE_ENTITY: 422 = 422 as 422
    @@ -1122,7 +1471,7 @@

    UNSUPPORTED_MEDIA_TYPE

    UNSUPPORTED_MEDIA_TYPE: 415 = 415 as 415
    @@ -1132,7 +1481,7 @@

    UPGRADE_REQUIRED

    UPGRADE_REQUIRED: 426 = 426 as 426
    @@ -1142,7 +1491,7 @@

    URI_TOO_LONG

    URI_TOO_LONG: 414 = 414 as 414
    @@ -1152,7 +1501,7 @@

    USE_PROXY

    USE_PROXY: 305 = 305 as 305
    @@ -1162,7 +1511,93 @@

    VARIANT_ALSO_NEGOTIATES

    VARIANT_ALSO_NEGOTIATES: 506 = 506 as 506
    + + +
    + +

    Const OPTIONS

    +
    OPTIONS: object = ["https", "x-powered-by", "routing.case-sensitive", "routing.ignore-trailing-slash","routing.allow-unsafe-regex", "json.escape"]
    + +
    + +

    schema

    +
    schema: object
    + +
    +

    Type declaration

    +
      +
    +
    +
    +
    +
    + +

    Const TYPES

    +
    TYPES: object
    + +
    + +

    MATCH_ALL

    +
    MATCH_ALL: number = 2
    + +
    +
    + +

    MULTI_PARAM

    +
    MULTI_PARAM: number = 4
    + +
    +
    + +

    PARAM

    +
    PARAM: number = 1
    + +
    +
    + +

    REGEX

    +
    REGEX: number = 3
    + +
    +
    + +

    STATIC

    +
    STATIC: number = 0
    +
    @@ -1175,6 +1610,9 @@

    VARIANT_ALSO_NEGOTIATES

  • Globals
  • +
  • + EventEmitter.internal +
  • __global
  • @@ -1191,12 +1629,18 @@

    VARIANT_ALSO_NEGOTIATES

  • Engine
  • +
  • + EventEmitter +
  • Foxify
  • HttpException
  • +
  • + Layer +
  • Request
  • @@ -1206,27 +1650,63 @@

    VARIANT_ALSO_NEGOTIATES

  • Route
  • -
  • +
  • Router
  • Server
  • +
  • + Method +
  • +
  • + ERRORS +
  • +
  • + EVENTS +
  • +
  • + Handlers +
  • +
  • + METHODS +
  • +
  • + NODE_TYPES +
  • +
  • + SETTINGS +
  • STATUS_CODES
  • charsetRegExp
  • +
  • + eventEmitter +
  • resolve
  • acceptParams
  • +
  • + buildHandlers +
  • define
  • +
  • + getClosingParenthensePosition +
  • +
  • + getWildcardNode +
  • +
  • + handle +
  • init
  • @@ -1242,6 +1722,12 @@

    VARIANT_ALSO_NEGOTIATES

  • normalizeTypes
  • +
  • + pathMatchesMiddleware +
  • +
  • + sanitizeUrl +
  • sendfile
  • @@ -1251,9 +1737,18 @@

    VARIANT_ALSO_NEGOTIATES

  • stringify
  • +
  • + EMPTY_HANDLE +
  • HTTP
  • +
  • + OPTIONS +
  • +
  • + TYPES +
  • diff --git a/docs/index.html b/docs/index.html index f3a8c8a..7877063 100644 --- a/docs/index.html +++ b/docs/index.html @@ -131,7 +131,7 @@

    Usage

    Features

    • Written in ES6
    • -
    • Robust routing (faster than Express)
    • +
    • Robust routing (about 60% faster than Express)
    • Express middleware support
    • Robust database modeling (Odin)
    • Simple and powerful error handling
    • @@ -140,6 +140,7 @@

      Features

    • View system supporting lots of template engines
    • Content negotiation
    • Executable for generating applications quickly
    • +
    • Error handling

    Benchmarks

    Machine: Ubuntu 18.04 64-bit, Intel Core i7 (8 cores), 8GiB (DDR4)

    @@ -155,33 +156,33 @@

    Benchmarks

    fastify - 1.7.0 - 26,819.6 - - - bare - 10.3.0 - 26,410 + 1.11.2 + 27,112 Foxify - 0.8.0 - 23,928.4 + 0.10.0 + 26,702.4 - restify - 7.2.1 - 14,919.2 + bare + 10.10.0 + 21,476.8 hapi - 17.5.2 - 18756.6 + 17.5.4 + 19,755.2 express 4.16.3 - 18,454 + 16,408.8 + + + restify + 7.2.1 + 15,474.4

    TODO

    @@ -219,6 +220,9 @@

    Support

  • Globals
  • +
  • + EventEmitter.internal +
  • __global
  • @@ -235,12 +239,18 @@

    Support

  • Engine
  • +
  • + EventEmitter +
  • Foxify
  • HttpException
  • +
  • + Layer +
  • Request
  • @@ -250,27 +260,63 @@

    Support

  • Route
  • -
  • +
  • Router
  • Server
  • +
  • + Method +
  • +
  • + ERRORS +
  • +
  • + EVENTS +
  • +
  • + Handlers +
  • +
  • + METHODS +
  • +
  • + NODE_TYPES +
  • +
  • + SETTINGS +
  • STATUS_CODES
  • charsetRegExp
  • +
  • + eventEmitter +
  • resolve
  • acceptParams
  • +
  • + buildHandlers +
  • define
  • +
  • + getClosingParenthensePosition +
  • +
  • + getWildcardNode +
  • +
  • + handle +
  • init
  • @@ -286,6 +332,12 @@

    Support

  • normalizeTypes
  • +
  • + pathMatchesMiddleware +
  • +
  • + sanitizeUrl +
  • sendfile
  • @@ -295,9 +347,18 @@

    Support

  • stringify
  • +
  • + EMPTY_HANDLE +
  • HTTP
  • +
  • + OPTIONS +
  • +
  • + TYPES +
  • diff --git a/docs/interfaces/__global.nodejs.global.html b/docs/interfaces/__global.nodejs.global.html index abee7c4..9eee91f 100644 --- a/docs/interfaces/__global.nodejs.global.html +++ b/docs/interfaces/__global.nodejs.global.html @@ -102,7 +102,7 @@

    HTTP

    HTTP: object
    @@ -303,7 +303,7 @@

    HttpException

    HttpException: HttpException
    @@ -315,6 +315,9 @@

    HttpException

  • Globals
  • +
  • + EventEmitter.internal +
  • __global
  • diff --git a/docs/interfaces/foxify.options.html b/docs/interfaces/foxify.options.html index 74273ae..1e7b9bf 100644 --- a/docs/interfaces/foxify.options.html +++ b/docs/interfaces/foxify.options.html @@ -106,7 +106,7 @@

    https

    https: boolean
    @@ -116,7 +116,7 @@

    json

    json: object
    @@ -134,17 +134,20 @@

    routing

    routing: object

    Type declaration

    • -
      sensitive: boolean
      +
      allow-unsafe-regex: boolean
    • -
      strict: boolean
      +
      case-sensitive: boolean
      +
    • +
    • +
      ignore-trailing-slash: boolean
    @@ -155,7 +158,7 @@

    x-powered-by

    x-powered-by: boolean
    @@ -171,12 +174,6 @@

    x-powered-by

    diff --git a/docs/interfaces/foxify.settings.html b/docs/interfaces/foxify.settings.html index 5f285dd..1fa1936 100644 --- a/docs/interfaces/foxify.settings.html +++ b/docs/interfaces/foxify.settings.html @@ -94,6 +94,7 @@

    Properties

  • json
  • port
  • query
  • +
  • routing
  • subdomain
  • url
  • workers
  • @@ -110,7 +111,7 @@

    env

    env: string
    @@ -120,7 +121,7 @@

    https

    https: object
    @@ -141,7 +142,7 @@

    json

    json: object
    @@ -162,7 +163,7 @@

    port

    port: number
    @@ -172,7 +173,7 @@

    query

    query: object
    @@ -184,13 +185,31 @@
    Optional parser + +

    routing

    +
    routing: object
    + +
    +

    Type declaration

    +
      +
    • +
      max-param-length: number
      +
    • +
    +
    +

    subdomain

    subdomain: object
    @@ -208,7 +227,7 @@

    url

    url: string
    @@ -218,7 +237,7 @@

    workers

    workers: number
    @@ -234,12 +253,6 @@

    workers

    diff --git a/docs/interfaces/layer.children.html b/docs/interfaces/layer.children.html new file mode 100644 index 0000000..cf39cb0 --- /dev/null +++ b/docs/interfaces/layer.children.html @@ -0,0 +1,274 @@ + + + + + + Children | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Children

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Children +
    • +
    +
    +
    +

    Indexable

    +
    [label: string]: Layer | undefined
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.handlerobject.html b/docs/interfaces/layer.handlerobject.html new file mode 100644 index 0000000..5e1f0a7 --- /dev/null +++ b/docs/interfaces/layer.handlerobject.html @@ -0,0 +1,329 @@ + + + + + + HandlerObject | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface HandlerObject

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + HandlerObject +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    handler

    +
    handler: Encapsulation
    + +
    +
    + +

    params

    +
    params: string[]
    + +
    +
    + +

    paramsLength

    +
    paramsLength: number
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.handlers.html b/docs/interfaces/layer.handlers.html new file mode 100644 index 0000000..a10ff1f --- /dev/null +++ b/docs/interfaces/layer.handlers.html @@ -0,0 +1,767 @@ + + + + + + Handlers | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Handlers

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Handlers +
    • +
    +
    +
    +

    Indexable

    +
    [method: string]: Encapsulation[]
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    ACL

    + + +
    +
    + +

    BIND

    + + +
    +
    + +

    CHECKOUT

    +
    CHECKOUT: Encapsulation[]
    + +
    +
    + +

    CONNECT

    +
    CONNECT: Encapsulation[]
    + +
    +
    + +

    COPY

    + + +
    +
    + +

    DELETE

    +
    DELETE: Encapsulation[]
    + +
    +
    + +

    GET

    + + +
    +
    + +

    HEAD

    + + +
    +
    + +

    LINK

    + + +
    +
    + +

    LOCK

    + + +
    +
    + +

    M-SEARCH

    +
    M-SEARCH: Encapsulation[]
    + +
    +
    + +

    MERGE

    +
    MERGE: Encapsulation[]
    + +
    +
    + +

    MKACTIVITY

    +
    MKACTIVITY: Encapsulation[]
    + +
    +
    + +

    MKCALENDAR

    +
    MKCALENDAR: Encapsulation[]
    + +
    +
    + +

    MKCOL

    +
    MKCOL: Encapsulation[]
    + +
    +
    + +

    MOVE

    + + +
    +
    + +

    NOTIFY

    +
    NOTIFY: Encapsulation[]
    + +
    +
    + +

    OPTIONS

    +
    OPTIONS: Encapsulation[]
    + +
    +
    + +

    PATCH

    +
    PATCH: Encapsulation[]
    + +
    +
    + +

    POST

    + + +
    +
    + +

    PROPFIND

    +
    PROPFIND: Encapsulation[]
    + +
    +
    + +

    PROPPATCH

    +
    PROPPATCH: Encapsulation[]
    + +
    +
    + +

    PURGE

    +
    PURGE: Encapsulation[]
    + +
    +
    + +

    PUT

    + + +
    +
    + +

    REBIND

    +
    REBIND: Encapsulation[]
    + +
    +
    + +

    REPORT

    +
    REPORT: Encapsulation[]
    + +
    +
    + +

    SEARCH

    +
    SEARCH: Encapsulation[]
    + +
    +
    + +

    SOURCE

    +
    SOURCE: Encapsulation[]
    + +
    +
    + +

    SUBSCRIBE

    +
    SUBSCRIBE: Encapsulation[]
    + +
    +
    + +

    TRACE

    +
    TRACE: Encapsulation[]
    + +
    +
    + +

    UNBIND

    +
    UNBIND: Encapsulation[]
    + +
    +
    + +

    UNLINK

    +
    UNLINK: Encapsulation[]
    + +
    +
    + +

    UNLOCK

    +
    UNLOCK: Encapsulation[]
    + +
    +
    + +

    UNSUBSCRIBE

    +
    UNSUBSCRIBE: Encapsulation[]
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.jsonschema.html b/docs/interfaces/layer.jsonschema.html new file mode 100644 index 0000000..f1cf178 --- /dev/null +++ b/docs/interfaces/layer.jsonschema.html @@ -0,0 +1,371 @@ + + + + + + JsonSchema | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface JsonSchema

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + JsonSchema +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    Optional additionalProperties

    +
    additionalProperties: undefined | object
    + +
    +
    + +

    Optional patternProperties

    +
    patternProperties: JsonSchemaProperties
    + +
    +
    + +

    Optional properties

    + + +
    +
    + +

    Optional required

    +
    required: string[]
    + +
    +
    + +

    Optional title

    +
    title: undefined | string
    + +
    +
    + +

    type

    + + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.jsonschemaproperties.html b/docs/interfaces/layer.jsonschemaproperties.html new file mode 100644 index 0000000..6a65df1 --- /dev/null +++ b/docs/interfaces/layer.jsonschemaproperties.html @@ -0,0 +1,282 @@ + + + + + + JsonSchemaProperties | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface JsonSchemaProperties

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + JsonSchemaProperties +
    • +
    +
    +
    +

    Indexable

    +
    [property: string]: object
    + +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.options.html b/docs/interfaces/layer.options.html new file mode 100644 index 0000000..fa08229 --- /dev/null +++ b/docs/interfaces/layer.options.html @@ -0,0 +1,767 @@ + + + + + + Options | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Options

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Options +
    • +
    +
    +
    +

    Indexable

    +
    [method: string]: RouteOptions | undefined
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    Optional ACL

    + + +
    +
    + +

    Optional BIND

    + + +
    +
    + +

    Optional CHECKOUT

    +
    CHECKOUT: RouteOptions
    + +
    +
    + +

    Optional CONNECT

    +
    CONNECT: RouteOptions
    + +
    +
    + +

    Optional COPY

    + + +
    +
    + +

    Optional DELETE

    +
    DELETE: RouteOptions
    + +
    +
    + +

    Optional GET

    + + +
    +
    + +

    Optional HEAD

    + + +
    +
    + +

    Optional LINK

    + + +
    +
    + +

    Optional LOCK

    + + +
    +
    + +

    Optional M-SEARCH

    +
    M-SEARCH: RouteOptions
    + +
    +
    + +

    Optional MERGE

    + + +
    +
    + +

    Optional MKACTIVITY

    +
    MKACTIVITY: RouteOptions
    + +
    +
    + +

    Optional MKCALENDAR

    +
    MKCALENDAR: RouteOptions
    + +
    +
    + +

    Optional MKCOL

    + + +
    +
    + +

    Optional MOVE

    + + +
    +
    + +

    Optional NOTIFY

    +
    NOTIFY: RouteOptions
    + +
    +
    + +

    Optional OPTIONS

    +
    OPTIONS: RouteOptions
    + +
    +
    + +

    Optional PATCH

    + + +
    +
    + +

    Optional POST

    + + +
    +
    + +

    Optional PROPFIND

    +
    PROPFIND: RouteOptions
    + +
    +
    + +

    Optional PROPPATCH

    +
    PROPPATCH: RouteOptions
    + +
    +
    + +

    Optional PURGE

    + + +
    +
    + +

    Optional PUT

    + + +
    +
    + +

    Optional REBIND

    +
    REBIND: RouteOptions
    + +
    +
    + +

    Optional REPORT

    +
    REPORT: RouteOptions
    + +
    +
    + +

    Optional SEARCH

    +
    SEARCH: RouteOptions
    + +
    +
    + +

    Optional SOURCE

    +
    SOURCE: RouteOptions
    + +
    +
    + +

    Optional SUBSCRIBE

    +
    SUBSCRIBE: RouteOptions
    + +
    +
    + +

    Optional TRACE

    + + +
    +
    + +

    Optional UNBIND

    +
    UNBIND: RouteOptions
    + +
    +
    + +

    Optional UNLINK

    +
    UNLINK: RouteOptions
    + +
    +
    + +

    Optional UNLOCK

    +
    UNLOCK: RouteOptions
    + +
    +
    + +

    Optional UNSUBSCRIBE

    +
    UNSUBSCRIBE: RouteOptions
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.routeoptions.html b/docs/interfaces/layer.routeoptions.html new file mode 100644 index 0000000..448493b --- /dev/null +++ b/docs/interfaces/layer.routeoptions.html @@ -0,0 +1,301 @@ + + + + + + RouteOptions | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface RouteOptions

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + RouteOptions +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    schema

    +
    schema: Schema
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/layer.schema.html b/docs/interfaces/layer.schema.html new file mode 100644 index 0000000..ad82651 --- /dev/null +++ b/docs/interfaces/layer.schema.html @@ -0,0 +1,301 @@ + + + + + + Schema | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Schema

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Schema +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    Optional response

    +
    response: undefined | object
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/route.jsonschema.html b/docs/interfaces/route.jsonschema.html index 45ceaa4..8493a4e 100644 --- a/docs/interfaces/route.jsonschema.html +++ b/docs/interfaces/route.jsonschema.html @@ -103,7 +103,7 @@

    Optional additionalProper
    additionalProperties: undefined | object
    @@ -113,7 +113,7 @@

    Optional patternPropertie
    patternProperties: JsonSchemaProperties
    @@ -123,7 +123,7 @@

    Optional properties

    @@ -133,7 +133,7 @@

    Optional required

    required: string[]
    @@ -143,7 +143,7 @@

    Optional title

    title: undefined | string
    @@ -153,7 +153,7 @@

    type

    type: object
    @@ -169,24 +169,6 @@

    type

    diff --git a/docs/interfaces/route.jsonschemaproperties.html b/docs/interfaces/route.jsonschemaproperties.html index 2a6cb47..ec56000 100644 --- a/docs/interfaces/route.jsonschemaproperties.html +++ b/docs/interfaces/route.jsonschemaproperties.html @@ -100,24 +100,6 @@
    type:
    diff --git a/docs/interfaces/route.methodfunctions.html b/docs/interfaces/route.methodfunctions.html index 0a8a20d..33dcb97 100644 --- a/docs/interfaces/route.methodfunctions.html +++ b/docs/interfaces/route.methodfunctions.html @@ -86,9 +86,6 @@

    Hierarchy

  • Route
  • -
  • - Foxify -
  • @@ -139,7 +136,7 @@

    checkout

    checkout: MethodFunction<T>
    @@ -149,7 +146,7 @@

    connect

    connect: MethodFunction<T>
    @@ -159,7 +156,7 @@

    copy

    copy: MethodFunction<T>
    @@ -169,7 +166,7 @@

    delete

    delete: MethodFunction<T>
    @@ -179,7 +176,7 @@

    get

    get: MethodFunction<T>
    @@ -189,7 +186,7 @@

    head

    head: MethodFunction<T>
    @@ -199,7 +196,7 @@

    lock

    lock: MethodFunction<T>
    @@ -209,7 +206,7 @@

    m-search

    m-search: MethodFunction<T>
    @@ -219,7 +216,7 @@

    merge

    merge: MethodFunction<T>
    @@ -229,7 +226,7 @@

    mkactivity

    mkactivity: MethodFunction<T>
    @@ -239,7 +236,7 @@

    mkcol

    mkcol: MethodFunction<T>
    @@ -249,7 +246,7 @@

    move

    move: MethodFunction<T>
    @@ -259,7 +256,7 @@

    notify

    notify: MethodFunction<T>
    @@ -269,7 +266,7 @@

    options

    options: MethodFunction<T>
    @@ -279,7 +276,7 @@

    patch

    patch: MethodFunction<T>
    @@ -289,7 +286,7 @@

    post

    post: MethodFunction<T>
    @@ -299,7 +296,7 @@

    propfind

    propfind: MethodFunction<T>
    @@ -309,7 +306,7 @@

    proppatch

    proppatch: MethodFunction<T>
    @@ -319,7 +316,7 @@

    purge

    purge: MethodFunction<T>
    @@ -329,7 +326,7 @@

    put

    put: MethodFunction<T>
    @@ -339,7 +336,7 @@

    report

    report: MethodFunction<T>
    @@ -349,7 +346,7 @@

    search

    search: MethodFunction<T>
    @@ -359,7 +356,7 @@

    subscribe

    subscribe: MethodFunction<T>
    @@ -369,7 +366,7 @@

    trace

    trace: MethodFunction<T>
    @@ -379,7 +376,7 @@

    unlock

    unlock: MethodFunction<T>
    @@ -389,7 +386,7 @@

    unsubscribe

    unsubscribe: MethodFunction<T>
    @@ -405,24 +402,6 @@

    unsubscribe

    diff --git a/docs/interfaces/route.routeobject.html b/docs/interfaces/route.routeobject.html index 506935b..2c9f2aa 100644 --- a/docs/interfaces/route.routeobject.html +++ b/docs/interfaces/route.routeobject.html @@ -100,7 +100,7 @@

    controller

    controller: Encapsulation
    @@ -110,7 +110,7 @@

    options

    options: RouteOptions
    @@ -120,7 +120,7 @@

    path

    path: string | RegExp
    @@ -136,24 +136,6 @@

    path

    diff --git a/docs/interfaces/route.routeoptions.html b/docs/interfaces/route.routeoptions.html index 543e3e3..46d755c 100644 --- a/docs/interfaces/route.routeoptions.html +++ b/docs/interfaces/route.routeoptions.html @@ -98,7 +98,7 @@

    Optional schema

    schema: Schema
    @@ -114,24 +114,6 @@

    Optional schema

    diff --git a/docs/interfaces/route.routes.html b/docs/interfaces/route.routes.html index 85e986c..fc0a17a 100644 --- a/docs/interfaces/route.routes.html +++ b/docs/interfaces/route.routes.html @@ -127,7 +127,7 @@

    checkout

    checkout: RouteObject[]
    @@ -137,7 +137,7 @@

    connect

    connect: RouteObject[]
    @@ -147,7 +147,7 @@

    copy

    copy: RouteObject[]
    @@ -157,7 +157,7 @@

    delete

    delete: RouteObject[]
    @@ -167,7 +167,7 @@

    get

    get: RouteObject[]
    @@ -177,7 +177,7 @@

    head

    head: RouteObject[]
    @@ -187,7 +187,7 @@

    lock

    lock: RouteObject[]
    @@ -197,7 +197,7 @@

    m-search

    m-search: RouteObject[]
    @@ -207,7 +207,7 @@

    merge

    merge: RouteObject[]
    @@ -217,7 +217,7 @@

    mkactivity

    mkactivity: RouteObject[]
    @@ -227,7 +227,7 @@

    mkcol

    mkcol: RouteObject[]
    @@ -237,7 +237,7 @@

    move

    move: RouteObject[]
    @@ -247,7 +247,7 @@

    notify

    notify: RouteObject[]
    @@ -257,7 +257,7 @@

    options

    options: RouteObject[]
    @@ -267,7 +267,7 @@

    patch

    patch: RouteObject[]
    @@ -277,7 +277,7 @@

    post

    post: RouteObject[]
    @@ -287,7 +287,7 @@

    propfind

    propfind: RouteObject[]
    @@ -297,7 +297,7 @@

    proppatch

    proppatch: RouteObject[]
    @@ -307,7 +307,7 @@

    purge

    purge: RouteObject[]
    @@ -317,7 +317,7 @@

    put

    put: RouteObject[]
    @@ -327,7 +327,7 @@

    report

    report: RouteObject[]
    @@ -337,7 +337,7 @@

    search

    search: RouteObject[]
    @@ -347,7 +347,7 @@

    subscribe

    subscribe: RouteObject[]
    @@ -357,7 +357,7 @@

    trace

    trace: RouteObject[]
    @@ -367,7 +367,7 @@

    unlock

    unlock: RouteObject[]
    @@ -377,7 +377,7 @@

    unsubscribe

    unsubscribe: RouteObject[]
    @@ -393,24 +393,6 @@

    unsubscribe

    diff --git a/docs/interfaces/route.schema.html b/docs/interfaces/route.schema.html index fde6840..19cc4bb 100644 --- a/docs/interfaces/route.schema.html +++ b/docs/interfaces/route.schema.html @@ -98,7 +98,7 @@

    response

    response: object
    @@ -122,24 +122,6 @@
    [statusCode:
    diff --git a/docs/interfaces/router.methodfunctions.html b/docs/interfaces/router.methodfunctions.html new file mode 100644 index 0000000..7142a51 --- /dev/null +++ b/docs/interfaces/router.methodfunctions.html @@ -0,0 +1,571 @@ + + + + + + MethodFunctions | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface MethodFunctions<T>

    +
    +
    +
    +
    +
    +
    +
    +

    Type parameters

    +
      +
    • +

      T

      +
    • +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    checkout

    +
    checkout: MethodFunction<T>
    + +
    +
    + +

    connect

    +
    connect: MethodFunction<T>
    + +
    +
    + +

    copy

    + + +
    +
    + +

    delete

    +
    delete: MethodFunction<T>
    + +
    +
    + +

    get

    + + +
    +
    + +

    head

    + + +
    +
    + +

    lock

    + + +
    +
    + +

    m-search

    +
    m-search: MethodFunction<T>
    + +
    +
    + +

    merge

    +
    merge: MethodFunction<T>
    + +
    +
    + +

    mkactivity

    +
    mkactivity: MethodFunction<T>
    + +
    +
    + +

    mkcol

    +
    mkcol: MethodFunction<T>
    + +
    +
    + +

    move

    + + +
    +
    + +

    notify

    +
    notify: MethodFunction<T>
    + +
    +
    + +

    options

    +
    options: MethodFunction<T>
    + +
    +
    + +

    patch

    +
    patch: MethodFunction<T>
    + +
    +
    + +

    post

    + + +
    +
    + +

    propfind

    +
    propfind: MethodFunction<T>
    + +
    +
    + +

    proppatch

    +
    proppatch: MethodFunction<T>
    + +
    +
    + +

    purge

    +
    purge: MethodFunction<T>
    + +
    +
    + +

    put

    + + +
    +
    + +

    report

    +
    report: MethodFunction<T>
    + +
    +
    + +

    search

    +
    search: MethodFunction<T>
    + +
    +
    + +

    subscribe

    +
    subscribe: MethodFunction<T>
    + +
    +
    + +

    trace

    +
    trace: MethodFunction<T>
    + +
    +
    + +

    unlock

    +
    unlock: MethodFunction<T>
    + +
    +
    + +

    unsubscribe

    +
    unsubscribe: MethodFunction<T>
    + +
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/router.middleware.html b/docs/interfaces/router.middleware.html new file mode 100644 index 0000000..ea763ad --- /dev/null +++ b/docs/interfaces/router.middleware.html @@ -0,0 +1,219 @@ + + + + + + Middleware | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Middleware

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Middleware +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    handlers

    +
    handlers: Handler[]
    + +
    +
    + +

    path

    +
    path: string
    + +
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/router.params.html b/docs/interfaces/router.params.html new file mode 100644 index 0000000..2678fbf --- /dev/null +++ b/docs/interfaces/router.params.html @@ -0,0 +1,178 @@ + + + + + + Params | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Params

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Params +
    • +
    +
    +
    +

    Indexable

    +
    [param: string]: Handler
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/router.pathmethods.html b/docs/interfaces/router.pathmethods.html new file mode 100644 index 0000000..ffe8ab8 --- /dev/null +++ b/docs/interfaces/router.pathmethods.html @@ -0,0 +1,563 @@ + + + + + + PathMethods | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface PathMethods<T>

    +
    +
    +
    +
    +
    +
    +
    +

    Type parameters

    +
      +
    • +

      T

      +
    • +
    +
    +
    +

    Hierarchy

    +
      +
    • + PathMethods +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Properties

    +
    + +

    checkout

    +
    checkout: PathMethodFunction<T>
    + +
    +
    + +

    connect

    +
    connect: PathMethodFunction<T>
    + +
    +
    + +

    copy

    + + +
    +
    + +

    delete

    + + +
    +
    + +

    get

    + + +
    +
    + +

    head

    + + +
    +
    + +

    lock

    + + +
    +
    + +

    m-search

    +
    m-search: PathMethodFunction<T>
    + +
    +
    + +

    merge

    + + +
    +
    + +

    mkactivity

    +
    mkactivity: PathMethodFunction<T>
    + +
    +
    + +

    mkcol

    + + +
    +
    + +

    move

    + + +
    +
    + +

    notify

    + + +
    +
    + +

    options

    +
    options: PathMethodFunction<T>
    + +
    +
    + +

    patch

    + + +
    +
    + +

    post

    + + +
    +
    + +

    propfind

    +
    propfind: PathMethodFunction<T>
    + +
    +
    + +

    proppatch

    +
    proppatch: PathMethodFunction<T>
    + +
    +
    + +

    purge

    + + +
    +
    + +

    put

    + + +
    +
    + +

    report

    + + +
    +
    + +

    search

    + + +
    +
    + +

    subscribe

    +
    subscribe: PathMethodFunction<T>
    + +
    +
    + +

    trace

    + + +
    +
    + +

    unlock

    + + +
    +
    + +

    unsubscribe

    +
    unsubscribe: PathMethodFunction<T>
    + +
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/router.route.html b/docs/interfaces/router.route.html new file mode 100644 index 0000000..89be6de --- /dev/null +++ b/docs/interfaces/router.route.html @@ -0,0 +1,247 @@ + + + + + + Route | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface Route

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Route +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    handlers

    +
    handlers: Handler[]
    + +
    +
    + +

    method

    +
    method: Method
    + +
    +
    + +

    opts

    + + +
    +
    + +

    path

    +
    path: string
    + +
    +
    +
    + +
    +
    + +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/server.options.html b/docs/interfaces/server.options.html index bca6e00..38f37bb 100644 --- a/docs/interfaces/server.options.html +++ b/docs/interfaces/server.options.html @@ -107,7 +107,7 @@

    https

    @@ -118,7 +118,7 @@

    json

    @@ -137,17 +137,20 @@

    routing

    Type declaration

    @@ -159,7 +162,7 @@

    x-powered-by

    @@ -175,30 +178,6 @@

    x-powered-by

    diff --git a/docs/interfaces/server.settings.html b/docs/interfaces/server.settings.html index 2cc095d..a3c1079 100644 --- a/docs/interfaces/server.settings.html +++ b/docs/interfaces/server.settings.html @@ -94,6 +94,7 @@

    Properties

  • json
  • port
  • query
  • +
  • routing
  • subdomain
  • url
  • view
  • @@ -112,7 +113,7 @@

    env

    @@ -123,7 +124,7 @@

    https

    @@ -145,7 +146,7 @@

    json

    @@ -167,7 +168,7 @@

    port

    @@ -178,7 +179,7 @@

    query

    @@ -190,6 +191,25 @@
    Optional parser + +

    routing

    +
    routing: object
    + +
    +

    Type declaration

    +
      +
    • +
      max-param-length: number
      +
    • +
    +
    +

    subdomain

    @@ -197,7 +217,7 @@

    subdomain

    @@ -216,7 +236,7 @@

    url

    @@ -226,7 +246,7 @@

    Optional view

    view: Engine
    @@ -237,7 +257,7 @@

    workers

    @@ -253,30 +273,6 @@

    workers

    diff --git a/docs/modules/__global.html b/docs/modules/__global.html index b029875..2843590 100644 --- a/docs/modules/__global.html +++ b/docs/modules/__global.html @@ -94,7 +94,7 @@

    Const HTTP

    HTTP: object
    @@ -295,7 +295,7 @@

    Const HttpException

    HttpException: HttpException
    @@ -307,6 +307,9 @@

    Const HttpException

  • Globals
  • +
  • + EventEmitter.internal +
  • __global
  • diff --git a/docs/modules/__global.nodejs.html b/docs/modules/__global.nodejs.html index 0288a4d..38d33ce 100644 --- a/docs/modules/__global.nodejs.html +++ b/docs/modules/__global.nodejs.html @@ -89,6 +89,9 @@

    Interfaces

  • Globals
  • +
  • + EventEmitter.internal +
  • __global
  • diff --git a/docs/modules/eventemitter.internal.html b/docs/modules/eventemitter.internal.html new file mode 100644 index 0000000..65e597f --- /dev/null +++ b/docs/modules/eventemitter.internal.html @@ -0,0 +1,179 @@ + + + + + + internal | foxify + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Module internal

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    +
    +
    +

    Classes

    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 299950a..e5c61ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "foxify", - "version": "0.9.0", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -133,9 +133,9 @@ "dev": true }, "@types/node": { - "version": "10.7.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.7.1.tgz", - "integrity": "sha512-EGoI4ylB/lPOaqXqtzAyL8HcgOuCtH2hkEaLmkueOYufsTFWBn4VCvlCDC2HW8Q+9iF+QVC3sxjDKQYjHQeZ9w==" + "version": "10.11.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.3.tgz", + "integrity": "sha512-3AvcEJAh9EMatxs+OxAlvAEs7OTy6AG94mcH1iqyVDwVVndekLxzwkWQ/Z4SDbY6GO2oyUXyWW8tQ4rENSSQVQ==" }, "@types/on-finished": { "version": "2.3.1", @@ -175,6 +175,12 @@ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.2.tgz", "integrity": "sha512-HtKGu+qG1NPvYe1z7ezLsyIaXYyi8SoAVqWDZgDQ8dLrsZvSzUNCwZyfX33uhWxL/SU0ZDQZ3nwZ0nimt507Kw==" }, + "@types/safe-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/safe-regex/-/safe-regex-1.1.1.tgz", + "integrity": "sha512-9p5DD9s54t2E0f8VLTaodlsYiulxG2EnbeWAS/bZzU/YMV2UHppcFtpTk3oMuPousC7ajPaislXHNMMDCvWpjg==", + "dev": true + }, "@types/send": { "version": "0.14.4", "resolved": "https://registry.npmjs.org/@types/send/-/send-0.14.4.tgz", @@ -223,14 +229,14 @@ } }, "ajv": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.2.tgz", - "integrity": "sha512-hOs7GfvI6tUI1LfZddH82ky6mOMyTuY0mk7kE2pWpmhhUSkumzaTO5vbVwij39MdwPQWCV4Zv57Eo06NtL/GVA==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.4.tgz", + "integrity": "sha512-4Wyjt8+t6YszqaXnLDfMmG/8AlO5Zbcsy3ATHncCzjW/NoPzAId8AK6749Ybjmdt+kUY1gP60fCu46oDxPv/mg==", "requires": { "fast-deep-equal": "^2.0.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.1" + "uri-js": "^4.2.2" } }, "align-text": { @@ -614,6 +620,11 @@ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, + "fast-decode-uri-component": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.0.tgz", + "integrity": "sha512-WQSYVKn6tDW/3htASeUkrx5LcnuTENQIZQPCVlwdnvIJ7bYtSpoJYq38MgUJnx1CQIR1gjZ8HJxAEcN4gqugBg==" + }, "fast-deep-equal": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", @@ -625,11 +636,11 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" }, "fast-json-stringify": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.7.1.tgz", - "integrity": "sha512-UXn8tcoqzfmW3/DjmHezrYdSeL+E/gkmNRLheyo+X7oK1oa1DOJ8g5BFlosbDixMu4EvtHVuKGdQiSy7OaCHzA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-1.9.0.tgz", + "integrity": "sha512-QbkPva8kjareNBS/uZAjLvIhAfFgqx8/X3vtjsvmqIdHBoOCkWOBCoqVp32LDGU+vZKriQazZxlVPLtLFdShgg==", "requires": { - "ajv": "^6.5.1", + "ajv": "^6.5.4", "deepmerge": "^2.1.1" } }, @@ -910,14 +921,14 @@ "dev": true }, "morgan": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.0.tgz", - "integrity": "sha1-0B+mxlhZt2/PMbPLU6OCGjEdgFE=", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz", + "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==", "dev": true, "requires": { "basic-auth": "~2.0.0", "debug": "2.6.9", - "depd": "~1.1.1", + "depd": "~1.1.2", "on-finished": "~2.3.0", "on-headers": "~1.0.1" } @@ -983,9 +994,9 @@ "dev": true }, "path-to-regexp": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.3.0.tgz", - "integrity": "sha512-wWRwboLa//uIppXIodKsl+qe4zAUNHwGBZUIkc32xR64fcSqGXCnxEZ3Fyl8M2muy9fq+mv2BQbFmZB3hZ4Bfg==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.4.0.tgz", + "integrity": "sha512-G6zHoVqC6GGTQkZwF4lkuEyMbVOjoBKAEybQUypI1WTkqinCOrq2x6U2+phkJ1XsEMTy4LjtwPI7HW+NVrRR2w==" }, "pluralize": { "version": "7.0.0", @@ -1000,9 +1011,9 @@ "dev": true }, "prototyped.js": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/prototyped.js/-/prototyped.js-0.18.1.tgz", - "integrity": "sha512-gydGOnuUoLzlN6L+S1KkTw6x+2HOAABQHlvIbZuXLeVlhbRNiwh3vlr7jB/+cgvjmlB3klRmaX9OVJj98N8cZA==" + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/prototyped.js/-/prototyped.js-0.20.0.tgz", + "integrity": "sha512-Mat+GnhDbF1O0exvJSYBMll6PxRUSCwhEp8COPbvyWCGBdMiqZFVp3XjK3zbR2dKio906FZC8bWdAhj/7E/F8Q==" }, "proxy-addr": { "version": "2.0.4", @@ -1052,6 +1063,11 @@ "path-parse": "^1.0.5" } }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" + }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", @@ -1077,6 +1093,14 @@ "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", "dev": true }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "requires": { + "ret": "~0.1.10" + } + }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -1254,6 +1278,14 @@ "shelljs": "^0.8.2", "typedoc-default-themes": "^0.5.0", "typescript": "3.0.x" + }, + "dependencies": { + "typescript": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.0.3.tgz", + "integrity": "sha512-kk80vLW9iGtjMnIv11qyxLqZm20UklzuR2tL0QAnDIygIUIemcZMxlMWudl9OOt76H3ntVzcTiddQ1/pAAJMYg==", + "dev": true + } } }, "typedoc-default-themes": { @@ -1283,9 +1315,9 @@ } }, "typescript": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.0.1.tgz", - "integrity": "sha512-zQIMOmC+372pC/CCVLqnQ0zSBiY7HHodU7mpQdjiZddek4GMj31I3dUJ7gAs9o65X7mnRma6OokOkc6f9jjfBg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.1.tgz", + "integrity": "sha512-Veu0w4dTc/9wlWNf2jeRInNodKlcdLgemvPsrNpfu5Pq39sgfFjvIIgTsvUHCoLBnMhPoUA+tFxsXjU6VexVRQ==", "dev": true }, "uglify-es": { diff --git a/package.json b/package.json index 32cafa7..b2cb92b 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "foxify", - "version": "0.9.0", + "version": "0.10.0", "description": "The fast, easy to use & typescript ready web framework for Node.js", - "author": "Ardalan Amini ", + "author": "Ardalan Amini [https://github.com/ardalanamini]", "contributors": [ - "Ardalan Amini " + "Ardalan Amini [https://github.com/ardalanamini]" ], "license": "MIT", "homepage": "https://foxify.js.org", @@ -48,7 +48,7 @@ "doc": "node scripts/doc.js" }, "dependencies": { - "@types/node": "^10.7.1", + "@types/node": "^10.11.3", "@types/range-parser": "^1.2.2", "accepts": "^1.3.5", "async": "^2.6.1", @@ -59,16 +59,18 @@ "dotenv": "^6.0.0", "encodeurl": "^1.0.2", "escape-html": "^1.0.3", - "fast-json-stringify": "^1.7.1", + "fast-decode-uri-component": "^1.0.0", + "fast-json-stringify": "^1.9.0", "fresh": "^0.5.2", "methods": "^1.1.2", "on-finished": "^2.3.0", "parseurl": "^1.3.2", - "path-to-regexp": "^2.3.0", - "prototyped.js": "^0.18.1", + "path-to-regexp": "^2.4.0", + "prototyped.js": "^0.20.0", "proxy-addr": "^2.0.4", "qs": "^6.5.2", "range-parser": "^1.2.0", + "safe-regex": "^1.1.0", "send": "^0.16.2", "serve-static": "^1.13.2", "type-is": "^1.6.16", @@ -89,6 +91,7 @@ "@types/parseurl": "^1.3.1", "@types/proxy-addr": "^2.0.0", "@types/qs": "^6.5.1", + "@types/safe-regex": "^1.1.1", "@types/send": "^0.14.4", "@types/type-is": "^1.6.2", "@types/vary": "^1.1.0", @@ -96,12 +99,12 @@ "ejs": "^2.6.1", "esdoc-typescript-plugin": "^1.0.1", "fs-readdir-recursive": "^1.1.0", - "morgan": "^1.9.0", + "morgan": "^1.9.1", "rimraf": "^2.6.2", "tslint": "^5.11.0", "typedoc": "^0.12.0", "typedoc-plugin-example-tag": "^1.0.2", - "typescript": "^3.0.1", + "typescript": "^3.1.1", "uglify-es": "^3.3.9" } } diff --git a/src/Request.ts b/src/Request.ts index 7ff5171..9fd95d9 100644 --- a/src/Request.ts +++ b/src/Request.ts @@ -5,9 +5,7 @@ import parseRange = require("range-parser"); import typeIs = require("type-is"); // import proxyAddr = require("proxy-addr"); import * as parseUrl from "parseurl"; -import fresh = require("fresh"); import * as Response from "./Response"; -import * as constants from "./constants"; import * as utils from "./utils"; module Request { @@ -21,6 +19,14 @@ module Request { } } +interface Request { + /** + * + * @alias get + */ + head(name: string): string | string[] | undefined; +} + class Request extends http.IncomingMessage { /** * @hidden @@ -39,35 +45,7 @@ class Request extends http.IncomingMessage { query!: any; - /** - * - * @alias get - */ - head = this.get; - - /** - * Check if the request is fresh, aka - * Last-Modified and/or the ETag - * still match. - */ - get fresh() { - const method = this.method; - const res = this.res; - const status = res.statusCode; - - // GET or HEAD for weak freshness validation only - if ("GET" !== method && "HEAD" !== method) return false; - - // 2xx or 304 as per rfc2616 14.26 - if ((status >= constants.http.OK && status < constants.http.MULTIPLE_CHOICES) || - constants.http.NOT_MODIFIED === status) - return fresh(this.headers, { - "etag": res.get("ETag"), - "last-modified": res.get("Last-Modified"), - }); - - return false; - } + params: object = {}; /** * Parse the "Host" header field to a hostname. @@ -100,15 +78,6 @@ class Request extends http.IncomingMessage { return url ? url.pathname : ""; } - /** - * Check if the request is stale, aka - * "Last-Modified" and / or the "ETag" for the - * resource has changed. - */ - get stale() { - return !this.fresh; - } - /** * Return subdomains as an array. * @@ -301,6 +270,12 @@ class Request extends http.IncomingMessage { } } +/** + * + * @alias get + */ +Request.prototype.head = Request.prototype.get; + export = Request; // /** diff --git a/src/Response.ts b/src/Response.ts index b84af51..6943372 100644 --- a/src/Response.ts +++ b/src/Response.ts @@ -8,7 +8,9 @@ import { sign } from "cookie-signature"; import * as onFinished from "on-finished"; import * as contentDisposition from "content-disposition"; import * as vary from "vary"; +import fresh = require("fresh"); import send = require("send"); +import * as constants from "./constants"; import * as Request from "./Request"; import * as utils from "./utils"; import { Engine } from "./view"; @@ -271,6 +273,27 @@ module Response { } } +interface Response { + /** + * + * @alias contentType + */ + type(type: string): this; + + /** + * + * @alias header + */ + set(field: string | object, val?: string | string[]): this; + + /** + * Get value for header `field`. + * + * @alias getHeader + */ + get(name: string): number | string | string[] | undefined; +} + class Response extends http.ServerResponse { /** * @hidden @@ -288,23 +311,36 @@ class Response extends http.ServerResponse { stringify?: { [statusCode: number]: any }; /** - * - * @alias contentType + * Check if the request is fresh, aka + * Last-Modified and/or the ETag + * still match. */ - type = this.contentType; + get fresh() { + const req = this.req; + const method = req.method; + const status = this.statusCode; - /** - * - * @alias header - */ - set = this.header; + // GET or HEAD for weak freshness validation only + if ("GET" !== method && "HEAD" !== method) return false; + + // 2xx or 304 as per rfc2616 14.26 + if ((status >= constants.http.OK && status < constants.http.MULTIPLE_CHOICES) || + constants.http.NOT_MODIFIED === status) + return fresh(req.headers, { + "last-modified": this.get("Last-Modified"), + }); + + return false; + } /** - * Get value for header `field`. - * - * @alias getHeader + * Check if the request is stale, aka + * "Last-Modified" and / or the "ETag" for the + * resource has changed. */ - get = this.getHeader; + get stale() { + return !this.fresh; + } /** * Append additional header `field` with value `val`. @@ -601,17 +637,15 @@ class Response extends http.ServerResponse { * res.json({ user: "tj" }); */ json(obj: object, status?: number) { - if (status) this.status(status); - - const _stringify = (this.stringify && this.stringify[this.statusCode]) || stringify; + if (status !== undefined) this.status(status); // if (!this.get("Content-Type")) this.setHeader("Content-Type", "application/json"); - this.setHeader("Content-Type", "application/json"); + this.setHeader("content-type", "application/json"); const options = this.settings.json; return this.send( - _stringify( + ((this.stringify && this.stringify[this.statusCode]) || stringify)( obj, options.replacer, options.spaces, @@ -791,34 +825,32 @@ class Response extends http.ServerResponse { * res.send("

    some html

    "); */ send(body: string | object | Buffer): this { - const req = this.req; - const contentType = this.get("Content-Type") as string; - let chunk = body; - - if (utils.string.isString(chunk)) { - if (!contentType) - // reflect this in content-type - this.setHeader("Content-Type", setCharset("text/html", "utf-8") as string); - } else if (Buffer.isBuffer(chunk)) { - if (!contentType) this.type("bin"); + if (utils.string.isString(body)) { + // reflect this in content-type + if (!this.get("content-type")) + this.setHeader("content-type", setCharset("text/html", "utf-8") as string); + } else if (Buffer.isBuffer(body)) { + if (!this.get("content-type")) this.type("bin"); } else - return this.json(chunk); + return this.json(body); // freshness - if (req.fresh) this.statusCode = HTTP.NOT_MODIFIED; + if (this.fresh) this.statusCode = HTTP.NOT_MODIFIED; + + const statusCode = this.statusCode; // strip irrelevant headers - if (HTTP.NO_CONTENT === this.statusCode || HTTP.NOT_MODIFIED === this.statusCode) { - this.removeHeader("Content-Type"); + if (HTTP.NO_CONTENT === statusCode || HTTP.NOT_MODIFIED === statusCode) { + this.removeHeader("content-type"); this.removeHeader("Content-Length"); this.removeHeader("Transfer-Encoding"); - chunk = ""; + body = ""; } // skip body for HEAD - if (req.method === "HEAD") this.end(); - else this.end(chunk, "utf8"); + if (this.req.method === "HEAD") this.end(); + else this.end(body, "utf8"); return this; } @@ -934,4 +966,23 @@ class Response extends http.ServerResponse { } } +/** + * + * @alias contentType + */ +Response.prototype.type = Response.prototype.contentType; + +/** + * + * @alias header + */ +Response.prototype.set = Response.prototype.header; + +/** + * Get value for header `field`. + * + * @alias getHeader + */ +Response.prototype.get = Response.prototype.getHeader; + export = Response; diff --git a/src/Server.ts b/src/Server.ts index 5f936c4..c88e490 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -1,6 +1,10 @@ import * as http from "http"; import * as https from "https"; import * as cluster from "cluster"; +import * as parseUrl from "parseurl"; +import * as qs from "qs"; +import * as EventEmitter from "./events/EventEmitter"; +import * as events from "./events"; import * as Request from "./Request"; import * as Response from "./Response"; import * as Foxify from "./index"; @@ -19,6 +23,12 @@ module Server { export type Callback = (server: Server) => void; } +interface Server { + on(event: EventEmitter.ErrorEvent, listener: EventEmitter.ErrorListener): this; + on(event: "uncaughtException", listener: EventEmitter.ExceptionListener): this; + on(event: "unhandledRejection", listener: EventEmitter.RejectionListener): this; +} + class Server { private _instance?: http.Server | https.Server; @@ -41,6 +51,13 @@ class Server { }, }; + const queryParse: (...args: any[]) => any = settings.query.parser || qs.parse; + Object.defineProperty(IncomingMessage.prototype, "query", { + get() { + return queryParse((parseUrl(this) as any).query, {}); + }, + }); + const ServerResponse = Response; ServerResponse.prototype.settings = { engine: settings.view, @@ -60,6 +77,8 @@ class Server { OPTIONS.key = httpsSettings.key; } + this.on("error", HttpException.handle); + const workers = settings.workers; if (workers > 1) { @@ -70,19 +89,11 @@ class Server { return this; } - /* no server fail at any cost ;) */ - process.on("uncaughtException", (err) => console.error("Caught exception: ", err)) - .on("unhandledRejection", (err) => console.warn("Caught rejection: ", err)); - this._instance = SERVER.createServer(OPTIONS, listener); return this; } - /* no server fail at any cost ;) */ - process.on("uncaughtException", (err) => console.error("Caught exception: ", err)) - .on("unhandledRejection", (err) => console.warn("Caught rejection: ", err)); - this._instance = SERVER.createServer(OPTIONS, listener); } @@ -116,6 +127,12 @@ class Server { return this.start(callback); } + + on(event: EventEmitter.Event, listener: (...args: any[]) => void) { + events.on(event, listener); + + return this; + } } export = Server; diff --git a/src/events/EventEmitter.ts b/src/events/EventEmitter.ts new file mode 100644 index 0000000..28262f1 --- /dev/null +++ b/src/events/EventEmitter.ts @@ -0,0 +1,74 @@ +import * as Base from "events"; +import { http } from "../constants"; +import { HttpException } from "../exceptions"; +import * as Request from "../Request"; +import * as Response from "../Response"; +import * as utils from "../utils"; + +const ERRORS = utils.object.reduce(http, (prev, code) => { + prev.push(`error-${code}`); + + return prev; +}, []); + +const EVENTS = ["uncaughtException", "unhandledRejection", "error"] + .concat(ERRORS); + +module EventEmitter { + export type ErrorEvent = "error" | "error-100" | "error-101" | "error-102" | + "error-103" | "error-200" | "error-201" | "error-202" | "error-203" | + "error-204" | "error-205" | "error-206" | "error-207" | "error-208" | + "error-226" | "error-300" | "error-301" | "error-302" | "error-303" | + "error-304" | "error-305" | "error-306" | "error-307" | "error-308" | + "error-400" | "error-401" | "error-402" | "error-403" | "error-404" | + "error-405" | "error-406" | "error-407" | "error-408" | "error-409" | + "error-410" | "error-411" | "error-412" | "error-413" | "error-414" | + "error-415" | "error-416" | "error-417" | "error-418" | "error-421" | + "error-422" | "error-423" | "error-424" | "error-426" | "error-428" | + "error-429" | "error-431" | "error-451" | "error-500" | "error-501" | + "error-502" | "error-503" | "error-504" | "error-505" | "error-506" | + "error-507" | "error-508" | "error-510" | "error-511"; + + export type ErrorListener = (error: HttpException, req: Request, res: Response) => void; + export type ExceptionListener = (error: Error) => void; + export type RejectionListener = (error: any) => void; + + export type Event = "uncaughtException" | "unhandledRejection" | EventEmitter.ErrorEvent; +} + +interface EventEmitter { + on(event: EventEmitter.ErrorEvent, listener: EventEmitter.ErrorListener): this; + on(event: "uncaughtException", listener: (error: Error) => void): this; + on(event: "unhandledRejection", listener: (error: any) => void): this; +} + +class EventEmitter extends Base { + on(event: EventEmitter.Event, listener: (...args: any[]) => void) { + if (!utils.array.contains(EVENTS, event)) throw new TypeError(`Unexpected event "${event}"`); + + switch (event) { + case "uncaughtException": + case "unhandledRejection": + process.removeAllListeners(event) + .on(event as any, listener); + break; + case "error": + ERRORS.forEach((error: any) => this.on(error, listener)); + break; + default: + this.removeAllListeners(event); + + super.on(event, listener); + } + + return this; + } + + emit(event: EventEmitter.ErrorEvent, error: HttpException, req: Request, res: Response) { + if (!utils.array.contains(EVENTS, event) || event === "error") throw new TypeError(`Unexpected event "${event}"`); + + return super.emit(event, error, req, res); + } +} + +export = EventEmitter; diff --git a/src/events/index.ts b/src/events/index.ts new file mode 100644 index 0000000..e43e008 --- /dev/null +++ b/src/events/index.ts @@ -0,0 +1,5 @@ +import * as EventEmitter from "./EventEmitter"; + +const eventEmitter = new EventEmitter(); + +export = eventEmitter; diff --git a/src/exceptions/Encapsulation.ts b/src/exceptions/Encapsulation.ts index 32e182a..810179d 100644 --- a/src/exceptions/Encapsulation.ts +++ b/src/exceptions/Encapsulation.ts @@ -1,7 +1,13 @@ -import * as HttpException from "./HttpException"; +import { http } from "../constants"; import * as Request from "../Request"; import * as Response from "../Response"; -import * as utils from "../utils"; +import * as events from "../events"; + +const handle = (error: any, req: Request, res: Response) => { + events.emit(`error-${error.code || http.INTERNAL_SERVER_ERROR}` as any, error, req, res); + + // if (process.env.NODE_ENV === "development") console.error("Encapsulation: ", error); +}; declare module Encapsulation { } @@ -16,16 +22,9 @@ class Encapsulation { try { const result = this._fn(req, res, ...rest); - if (result && utils.function.isFunction((result as any).then)) - (result as Promise).catch((err: Error) => { - HttpException.handle(err, req, res); - - if (process.env.NODE_ENV === "development") console.error("Encapsulation: ", err); - }); + if (result instanceof Promise) result.catch((err) => handle(err, req, res)); } catch (err) { - HttpException.handle(err, req, res); - - if (process.env.NODE_ENV === "development") console.error("Encapsulation: ", err); + handle(err, req, res); } } } diff --git a/src/exceptions/HttpException.ts b/src/exceptions/HttpException.ts index 28b820b..5c44608 100644 --- a/src/exceptions/HttpException.ts +++ b/src/exceptions/HttpException.ts @@ -7,14 +7,13 @@ import * as utils from "../utils"; module HttpException { } -interface HttpException extends Error { +class HttpException extends Error { + static isHttpException = (arg: any): arg is HttpException => arg instanceof HttpException; + code: number; - errors: object; - handle(exception: any, req: Request, res: Response): void; -} + errors: object; -class HttpException extends Error { constructor(errors?: object); constructor(code: number, errors?: object); constructor(message: string, errors?: object); @@ -51,6 +50,9 @@ class HttpException extends Error { const code = exception.code || http.INTERNAL_SERVER_ERROR; const message = exception.message || STATUS_CODES[code] || ""; + exception.path = req.path; + if (process.env.NODE_ENV === "development") console.error("Encapsulation: ", exception); + res.status(code).format({ "text/html": () => res.send(htmlError(code, STATUS_CODES[code], message)), "application/json": () => { diff --git a/src/index.ts b/src/index.ts index 03cb01a..637c17d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,21 +2,26 @@ import "./bootstrap"; import * as os from "os"; import * as serveStatic from "serve-static"; import * as constants from "./constants"; -import { init } from "./middlewares"; -import { httpMethods, Route, Router } from "./routing"; +import { httpMethods, Layer, Router } from "./routing"; import * as utils from "./utils"; import * as Server from "./Server"; import * as IncomingRequest from "./Request"; import * as ServerResponse from "./Response"; import { Engine } from "./view"; +const OPTIONS = ["https", "x-powered-by", "routing.case-sensitive", "routing.ignore-trailing-slash", + "routing.allow-unsafe-regex", "json.escape"]; +const SETTINGS = ["env", "url", "port", "workers", "https.cert", "https.key", "json.spaces", + "json.replacer", "query.parser", "routing.max-param-length"]; + module Foxify { export interface Options { https: boolean; "x-powered-by": boolean; routing: { - strict: boolean, - sensitive: boolean, + "case-sensitive": boolean, + "ignore-trailing-slash": boolean, + "allow-unsafe-regex": boolean, }; json: { escape: boolean, @@ -42,24 +47,27 @@ module Foxify { query: { parser?: (...args: any[]) => any, }; + routing: { + "max-param-length": number, + }; } export type Request = IncomingRequest; export type Response = ServerResponse; } -interface Foxify extends Route.MethodFunctions { +interface Foxify extends Router.MethodFunctions { get(setting: string): any; - get(path: string, options: Route.RouteOptions | Route.Controller, ...controllers: Route.Controller[]): this; + get(path: string, options: Layer.RouteOptions | Layer.Handler, ...controllers: Layer.Handler[]): this; + + use(path: string | Layer.Handler | Router, ...handlers: Array): this; - use(route: Route): this; - use(...controllers: Route.Controller[]): this; - use(path: string, options: Route.RouteOptions | Route.Controller, ...controllers: Route.Controller[]): this; + param(param: string, handler: Layer.Handler): this; } class Foxify { static constants = constants; - static Route = Route; + static Router = Router; static static = serveStatic; static dotenv = (path: string) => { @@ -73,8 +81,9 @@ class Foxify { https: false, ["x-powered-by"]: true, routing: { - strict: false, - sensitive: true, + "case-sensitive": true, + "ignore-trailing-slash": false, + "allow-unsafe-regex": false, }, json: { escape: false, @@ -100,6 +109,9 @@ class Foxify { query: { parser: undefined, }, + routing: { + "max-param-length": 100, + }, }; private _router = new Router(); @@ -108,19 +120,16 @@ class Foxify { constructor() { /* apply http routing methods */ - httpMethods.map((method) => { + ["route", "use", "all"].concat(httpMethods).forEach((method) => { method = method.toLowerCase(); - if (!(this as { [key: string]: any })[method]) - (this as { [key: string]: any })[method] = (path: string, ...controllers: Route.Controller[]) => { - const route = new Route(); - - route[method](path, ...controllers); + if ((this as any)[method]) return; - this._router.push(route.routes); + (this as any)[method] = (...args: any[]) => { + (this._router as any)[method](...args); - return this; - }; + return this; + }; }); } @@ -134,31 +143,12 @@ class Foxify { this._set(utils.array.tail(keys).join("."), value, object[keys[0]]); } - /* handle built-in middlewares */ - private _use( - path: string | Route | Route.Controller, - options?: Route.RouteOptions | Route.Controller, - ...middlewares: Route.Controller[]) { - if (path instanceof Route) - this._router.push(path.routes); - else { - const route = new Route(); - - route.use(path, options, ...middlewares); - - this._router.prepend(route.routes); - } - - return this; - } - /* handle options */ enable(option: string) { if (!utils.string.isString(option)) throw new TypeError("Argument 'option' should be an string"); - if (!utils.array.contains( - ["https", "x-powered-by", "routing.strict", "routing.sensitive", "json.escape"], option)) + if (!utils.array.contains(OPTIONS, option)) throw new TypeError(`Unknown option '${option}'`); this._set(option, true, this._options); @@ -170,8 +160,7 @@ class Foxify { if (!utils.string.isString(option)) throw new TypeError("Argument 'option' should be an string"); - if (!utils.array.contains( - ["https", "x-powered-by", "routing.strict", "routing.sensitive", "json.escape"], option)) + if (!utils.array.contains(OPTIONS, option)) throw new TypeError(`Unknown option '${option}'`); this._set(option, false, this._options); @@ -183,8 +172,7 @@ class Foxify { if (!utils.string.isString(option)) throw new TypeError("Argument 'option' should be an string"); - if (!utils.array.contains( - ["https", "x-powered-by", "routing.strict", "routing.sensitive", "json.escape"], option)) + if (!utils.array.contains(OPTIONS, option)) throw new TypeError(`Unknown option '${option}'`); const keys = option.split("."); @@ -231,6 +219,7 @@ class Foxify { throw new TypeError(`setting '${setting}' should be an string`); break; case "json.spaces": + case "routing.max-param-length": if (value == null) break; if (!utils.number.isNumber(value)) throw new TypeError(`setting '${setting}' should be a number`); @@ -252,16 +241,14 @@ class Foxify { return this; } - get(path: string, options?: Route.RouteOptions | Route.Controller, ...controllers: Route.Controller[]): any { + get(path: string, options?: Layer.RouteOptions | Layer.Handler, ...controllers: Layer.Handler[]): any { if (!options) { const setting = path; if (!utils.string.isString(setting)) throw new TypeError("'setting' should be an string"); - if (!utils.array.contains( - ["env", "url", "port", "workers", "https.cert", "https.key", - "json.spaces", "json.replacer", "query.parser"], setting)) + if (!utils.array.contains(SETTINGS, setting)) throw new TypeError(`Unknown setting '${setting}'`); const keys = setting.split("."); @@ -277,16 +264,11 @@ class Foxify { return _setting; } - if (!utils.string.isString(path)) - throw new TypeError("'path' should be an string"); - - const route = new Route(); - - route.get(path, options as Route.RouteOptions | Route.Controller, ...controllers); - - this._router.push(route.routes); + return this.use(new Router().get(path, options, ...controllers)); + } - return this; + prettyPrint() { + return this._router.prettyPrint(); } /** @@ -300,24 +282,6 @@ class Foxify { return this; } - /* handle middlewares */ - use( - path: string | Route | Route.Controller, - options?: Route.RouteOptions | Route.Controller, - ...controllers: Route.Controller[]) { - if (path instanceof Route) - this._router.push(path.routes); - else { - const route = new Route(); - - route.use(path, options as Route.RouteOptions | Route.Controller, ...controllers); - - this._router.push(route.routes); - } - - return this; - } - start(callback?: () => void) { if (callback && !utils.function.isFunction(callback)) throw new TypeError(`Expected 'callback' to be a function, got ${typeof callback} instead`); @@ -325,9 +289,6 @@ class Foxify { /* set node env */ process.env.NODE_ENV = this.get("env"); - /* apply built-in middlewares */ - this._use(init(this)); - /* initialize the router with provided options and settings */ this._router.initialize(this); @@ -337,7 +298,7 @@ class Foxify { ...this._settings, view: this._view, }, - (req, res) => this._router.route(req, res) + this._router.lookup.bind(this._router) ); return server.start(callback); diff --git a/src/middlewares/init.ts b/src/middlewares/init.ts index 70d5b12..ecd87ab 100644 --- a/src/middlewares/init.ts +++ b/src/middlewares/init.ts @@ -1,5 +1,3 @@ -import * as parseUrl from "parseurl"; -import * as qs from "qs"; import * as Request from "../Request"; import * as Response from "../Response"; import * as Fox from "../index"; @@ -7,29 +5,21 @@ import * as utils from "../utils"; import { name } from "../../package.json"; const init = (app: Fox) => { - const queryParse: (...args: any[]) => any = app.get("query.parser") || qs.parse; - if (app.enabled("x-powered-by")) { const xPoweredBy = utils.string.capitalize(name); return function foxify_init(req: Request, res: Response, next: () => void) { - req.res = res; res.req = req; res.setHeader("X-Powered-By", xPoweredBy); - req.query = req.query || queryParse((parseUrl(req) as any).query, {}); - next(); }; } return function foxify_init(req: Request, res: Response, next: () => void) { - req.res = res; res.req = req; - req.query = req.query || queryParse((parseUrl(req) as any).query, {}); - next(); }; }; diff --git a/src/routing/Route.ts b/src/routing.old/Route.ts similarity index 98% rename from src/routing/Route.ts rename to src/routing.old/Route.ts index fb4ba2c..b0c53c1 100644 --- a/src/routing/Route.ts +++ b/src/routing.old/Route.ts @@ -209,9 +209,7 @@ class Route { _middlewares = middlewares; } - this.any(_path, options || {}, ..._middlewares); - - return this; + return this.any(_path, options || {}, ..._middlewares); } } diff --git a/src/routing.old/Router.ts b/src/routing.old/Router.ts new file mode 100644 index 0000000..dbb7e6f --- /dev/null +++ b/src/routing.old/Router.ts @@ -0,0 +1,85 @@ +import * as pathToRegExp from "path-to-regexp"; +import * as fastStringify from "fast-json-stringify"; +import httpMethods from "./httpMethods"; +import * as Route from "./Route"; +import * as Request from "../Request"; +import * as Response from "../Response"; +import { Encapsulation } from "../exceptions"; +import * as Fox from "../index"; +import * as utils from "../utils"; + +module Router { } + +class Router { + protected _routes = {} as Route.Routes; + + constructor() { + httpMethods.forEach((method) => this._routes[method] = []); + } + + protected _next = ( + req: Request, + res: Response, + url: string, + routes: Route.RouteObject[], + length = routes.length, + index = 0 + ) => { + for (let i = index; i < length; i++) { + const { path, controller, options: { schema } } = routes[i]; + + const params = (path as RegExp).exec(url); + + if (params) { + const next = () => this._safeNext.run(req, res, url, routes, length, i + 1); + + req.next = next; + + res.stringify = schema && schema.response; + + return controller.run(req, res, next, ...utils.array.tail(params)); + } + } + + throw new HttpException(HTTP.NOT_FOUND); + } + + protected _safeNext = new Encapsulation(this._next); + + initialize(app: Fox) { + const strict = app.enabled("routing.strict"); + const sensitive = app.enabled("routing.sensitive"); + + httpMethods.forEach((method) => this._routes[method] = this._routes[method].map((route) => { + const options = route.options; + + const schema: { response: { [statusCode: number]: any } } | undefined = options.schema; + + if (schema) + schema.response = utils.object.mapValues(schema.response, (value) => fastStringify(value)); + + return { + ...route, + options: { + ...options, + schema, + }, + path: pathToRegExp(route.path, [], { strict, sensitive }), + }; + })); + } + + prepend(routes: Route.Routes) { + httpMethods.forEach((method) => this._routes[method] = [...routes[method], ...this._routes[method]]); + } + + push(routes: Route.Routes) { + httpMethods.forEach((method) => this._routes[method].push(...routes[method])); + } + + route(req: Request, res: Response) { + this._safeNext.run(req, res, req.path, this._routes[req.method as string]); + } +} + +export = Router; diff --git a/src/routing.old/httpMethods.ts b/src/routing.old/httpMethods.ts new file mode 100644 index 0000000..6231c74 --- /dev/null +++ b/src/routing.old/httpMethods.ts @@ -0,0 +1,3 @@ +import * as httpMethods from "methods"; + +export default httpMethods.map((method) => method.toUpperCase()); diff --git a/src/routing.old/index.ts b/src/routing.old/index.ts new file mode 100644 index 0000000..9ad210a --- /dev/null +++ b/src/routing.old/index.ts @@ -0,0 +1,9 @@ +import httpMethods from "./httpMethods"; +import * as Router from "./Router"; +import * as Route from "./Route"; + +export { + httpMethods, + Router, + Route, +}; diff --git a/src/routing/Layer.ts b/src/routing/Layer.ts new file mode 100644 index 0000000..8f85091 --- /dev/null +++ b/src/routing/Layer.ts @@ -0,0 +1,337 @@ +import * as assert from "assert"; +import httpMethods, { Method } from "./httpMethods"; +import * as Request from "../Request"; +import * as Response from "../Response"; +import { Encapsulation } from "../exceptions"; + +const buildHandlers = (handlers?: any) => { + let code = `handlers = handlers || {} + `; + + for (let i = 0; i < httpMethods.length; i++) { + const m = httpMethods[i]; + + code += `this["${m}"] = handlers["${m}"] || [] + `; + } + + return new Function("handlers", code); // eslint-disable-line +}; + +const Handlers = buildHandlers(); + +const OPTIONS = { schema: {} }; + +const TYPES = { + STATIC: 0, + PARAM: 1, + MATCH_ALL: 2, + REGEX: 3, + // It's used for a parameter, that is followed by another parameter in the same part + MULTI_PARAM: 4, +}; + +module Layer { + export type Handler = (request: Request, response: Response, next: () => void) => void; + + export interface HandlerObject { + handler: Encapsulation; + params: string[]; + paramsLength: number; + } + + export interface Handlers { + [method: string]: Encapsulation[]; + + ACL: Encapsulation[]; + BIND: Encapsulation[]; + CHECKOUT: Encapsulation[]; + CONNECT: Encapsulation[]; + COPY: Encapsulation[]; + DELETE: Encapsulation[]; + GET: Encapsulation[]; + HEAD: Encapsulation[]; + LINK: Encapsulation[]; + LOCK: Encapsulation[]; + "M-SEARCH": Encapsulation[]; + MERGE: Encapsulation[]; + MKACTIVITY: Encapsulation[]; + MKCALENDAR: Encapsulation[]; + MKCOL: Encapsulation[]; + MOVE: Encapsulation[]; + NOTIFY: Encapsulation[]; + OPTIONS: Encapsulation[]; + PATCH: Encapsulation[]; + POST: Encapsulation[]; + PROPFIND: Encapsulation[]; + PROPPATCH: Encapsulation[]; + PURGE: Encapsulation[]; + PUT: Encapsulation[]; + REBIND: Encapsulation[]; + REPORT: Encapsulation[]; + SEARCH: Encapsulation[]; + SOURCE: Encapsulation[]; + SUBSCRIBE: Encapsulation[]; + TRACE: Encapsulation[]; + UNBIND: Encapsulation[]; + UNLINK: Encapsulation[]; + UNLOCK: Encapsulation[]; + UNSUBSCRIBE: Encapsulation[]; + } + + export interface Options { + [method: string]: RouteOptions | undefined; + + ACL?: RouteOptions; + BIND?: RouteOptions; + CHECKOUT?: RouteOptions; + CONNECT?: RouteOptions; + COPY?: RouteOptions; + DELETE?: RouteOptions; + GET?: RouteOptions; + HEAD?: RouteOptions; + LINK?: RouteOptions; + LOCK?: RouteOptions; + "M-SEARCH"?: RouteOptions; + MERGE?: RouteOptions; + MKACTIVITY?: RouteOptions; + MKCALENDAR?: RouteOptions; + MKCOL?: RouteOptions; + MOVE?: RouteOptions; + NOTIFY?: RouteOptions; + OPTIONS?: RouteOptions; + PATCH?: RouteOptions; + POST?: RouteOptions; + PROPFIND?: RouteOptions; + PROPPATCH?: RouteOptions; + PURGE?: RouteOptions; + PUT?: RouteOptions; + REBIND?: RouteOptions; + REPORT?: RouteOptions; + SEARCH?: RouteOptions; + SOURCE?: RouteOptions; + SUBSCRIBE?: RouteOptions; + TRACE?: RouteOptions; + UNBIND?: RouteOptions; + UNLINK?: RouteOptions; + UNLOCK?: RouteOptions; + UNSUBSCRIBE?: RouteOptions; + } + + export interface Children { + [label: string]: Layer | undefined; + } + + export type JsonSchemaType = "string" | "integer" | "number" | "array" | "object" | "boolean" | "null"; + + export interface JsonSchemaProperties { + [property: string]: { + type: JsonSchemaType; + default?: any; + }; + } + + export interface JsonSchema { + title?: string; + type: JsonSchemaType; + properties?: JsonSchemaProperties; + patternProperties?: JsonSchemaProperties; + additionalProperties?: { + type: JsonSchemaType; + }; + required?: string[]; + } + + export interface Schema { + response?: { [statusCode: number]: JsonSchema }; + } + + export interface RouteOptions { + schema: Schema; + } +} + +interface Layer { } + +class Layer { + static isLayer = (arg: any): arg is Layer => arg instanceof Layer; + + static TYPES = TYPES; + static Handlers = Handlers; + + handlers: Layer.Handlers; + + options: Layer.Options = {}; + + wildcardChild: Layer | null = null; + + parametricBrother: Layer | null = null; + + paramsLength: number; + + constructor( + public prefix = "/", + public children: Layer.Children = {}, + public kind = TYPES.STATIC, + handlers?: Layer.Handlers, + public regex: RegExp | null = null, + public params: string[] = [] + ) { + this.handlers = new (Handlers as any)(handlers); + this.paramsLength = params.length; + } + + get label() { + return this.prefix[0]; + } + + get numberOfChildren() { + return Object.keys(this.children).length; + } + + addChild(layer: Layer) { + let label = ""; + + switch (layer.kind) { + case TYPES.STATIC: + label = layer.label; + break; + case TYPES.PARAM: + case TYPES.REGEX: + case TYPES.MULTI_PARAM: + label = ":"; + break; + case TYPES.MATCH_ALL: + this.wildcardChild = layer; + label = "*"; + break; + default: + throw new Error(`Unknown layer kind: ${layer.kind}`); + } + + assert( + this.children[label] === undefined, + `There is already a child with label "${label}"` + ); + + this.children[label] = layer; + + const labels = Object.keys(this.children); + let parametricBrother = null; + for (let i = 0; i < labels.length; i++) { + const child = this.children[labels[i]] as Layer; + if (child.label === ":") { + parametricBrother = child; + break; + } + } + + // Save the parametric brother inside a static children + for (let i = 0; i < labels.length; i++) { + const child = this.children[labels[i]] as Layer; + + if (child.kind === TYPES.STATIC && parametricBrother) + child.parametricBrother = parametricBrother; + } + + return this; + } + + reset(prefix = "/") { + this.prefix = prefix; + this.children = {}; + this.kind = TYPES.STATIC; + this.handlers = new (Handlers as any)(); + this.regex = null; + this.wildcardChild = null; + + return this; + } + + findByLabel(path: string) { + return this.children[path[0]]; + } + + findChild(path: string, method: Method) { + let child = this.children[path[0]]; + + if (child !== undefined && (child.numberOfChildren > 0 || child.handlers[method] !== null)) + if (path.slice(0, child.prefix.length) === child.prefix) + return child; + + child = this.children[":"] || this.children["*"]; + + if (child !== undefined && (child.numberOfChildren > 0 || child.handlers[method] !== null)) + return child; + + return null; + } + + addHandler(method: Method, options: Layer.RouteOptions = OPTIONS, handlers: Layer.Handler[]) { + if (handlers.length === 0) return this; + + // assert( + // this.handlers[method].length !== 0, + // `There is already an handler with method "${method}"` + // ); + + this.handlers[method].push(...handlers.map((handler) => new Encapsulation(handler))); + + this.options[method] = Object.assign({}, OPTIONS, options, { schema: options.schema || {} }); + + return this; + } + + getHandler(method: Method) { + const handlers = this.handlers[method]; + + return { + handlers, + options: this.options[method] || { schema: {} }, + params: this.params, + handlersLength: handlers.length, + paramsLength: this.paramsLength, + }; + } + + prettyPrint(prefix: string, tail: boolean = false) { + const handlers = this.handlers; + const methods = Object.keys(handlers) + .filter((method) => handlers[method].length > 0); + let paramName = ""; + + if (this.prefix === ":") { + const params = this.params; + const param = params[params.length - 1]; + + methods.forEach((method, index) => { + if (methods.length > 1) { + if (index === 0) { + paramName += `${param} (${method}`; + return; + } + + paramName += `|${method}`; + paramName += (index === methods.length - 1 ? ")" : ""); + } else + paramName = `${param} (${method})`; + }); + } else if (methods.length) + paramName = ` (${methods.join("|")})`; + + let tree = `${prefix}${tail ? "└── " : "├── "}${this.prefix}${paramName}\n`; + + prefix = `${prefix}${tail ? " " : "│ "}`; + const labels = Object.keys(this.children); + + for (let i = 0; i < labels.length - 1; i++) + tree += (this.children[labels[i]] as Layer).prettyPrint(prefix); + + if (labels.length > 0) + tree += (this.children[labels[labels.length - 1]] as Layer).prettyPrint(prefix, true); + + return tree; + } +} + +export = Layer; diff --git a/src/routing/Router.ts b/src/routing/Router.ts index b35993b..0b214ea 100644 --- a/src/routing/Router.ts +++ b/src/routing/Router.ts @@ -1,84 +1,781 @@ -import * as pathToRegExp from "path-to-regexp"; +import * as assert from "assert"; +import * as fastDecode from "fast-decode-uri-component"; import * as fastStringify from "fast-json-stringify"; -import httpMethods from "./httpMethods"; -import * as Route from "./Route"; +import isRegexSafe = require("safe-regex"); import * as Request from "../Request"; import * as Response from "../Response"; -import { Encapsulation } from "../exceptions"; -import * as Fox from "../index"; import * as utils from "../utils"; +import { Encapsulation } from "../exceptions"; +import { init } from "../middlewares"; +import httpMethods, { Method } from "./httpMethods"; +import * as Layer from "./Layer"; +import * as Foxify from ".."; + +/* + Char codes: + "#": 35 + "*": 42 + "-": 45 + "/": 47 + ":": 58 + ";": 59 + "?": 63 +*/ + +const NODE_TYPES = Layer.TYPES; + +const EMPTY_HANDLE = { handlers: [], options: { schema: {} }, params: {} }; + +const pathMatchesMiddleware = (path: string, middleware: string) => { + const middlewares = middleware.replace(/(^\/|\/$)/g, "").split("/"); + const paths = path.replace(/(^\/|\/$)/g, "").split("/"); + const length = middlewares.length; + + for (let i = 0; i < length; i++) { + const j = middlewares[i]; + const k = paths[i]; + + if (j === "*") { + if (i === (length - 1)) return true; + + continue; + } + + if (!k || j !== k) return false; + + if (i === (length - 1)) return true; + } + + return false; +}; + +const sanitizeUrl = (url: string = "") => { + const len = url.length; + + for (let i = 0; i < len; i++) { + const charCode = url.charCodeAt(i); + + // Some systems do not follow RFC and separate the path and query + // string with a `;` character (code 59), e.g. `/foo;jsessionid=123456`. + // Thus, we need to split on `;` as well as `?` and `#`. + if (charCode === 63 || charCode === 59 || charCode === 35) + return url.slice(0, i); + } + + return url; +}; + +const getWildcardNode = (layer: Layer | null, method: Method, path: string, len: number) => { + if (layer === null) return EMPTY_HANDLE; + + const decoded = fastDecode(path.slice(-len)); + + if (decoded === null) return EMPTY_HANDLE; + + const handler = layer.getHandler(method); + + if (handler.handlersLength > 0) return { + handlers: handler.handlers, + options: handler.options, + params: { "*": decoded }, + }; + + return EMPTY_HANDLE; +}; + +const getClosingParenthensePosition = (path: string, idx: number) => { + // `path.indexOf()` will always return the first position of the closing parenthese, + // but it's inefficient for grouped or wrong regexp expressions. + // see issues #62 and #63 for more info -module Router { } + let parentheses = 1; + + while (idx < path.length) { + idx++; + + // ignore skipped chars + if (path[idx] === "\\") { + idx++; + + continue; + } + + if (path[idx] === ")") parentheses--; + else if (path[idx] === "(") parentheses++; + + if (!parentheses) return idx; + } + + throw new TypeError(`Invalid regexp expression in "${path}"`); +}; + +module Router { + export interface Middleware { + path: string; + handlers: Layer.Handler[]; + } + + export interface Route { + method: Method; + path: string; + opts: Layer.RouteOptions; + handlers: Layer.Handler[]; + } + + export interface Params { + [param: string]: Layer.Handler; + } + + export type MethodFunction = + (path: string, options: Layer.RouteOptions | Layer.Handler, ...handlers: Layer.Handler[]) => T; + + export type PathMethodFunction = + (options: Layer.RouteOptions | Layer.Handler, ...handlers: Layer.Handler[]) => T; + + export interface MethodFunctions { + get: Router.MethodFunction; + post: Router.MethodFunction; + put: Router.MethodFunction; + head: Router.MethodFunction; + delete: Router.MethodFunction; + options: Router.MethodFunction; + trace: Router.MethodFunction; + copy: Router.MethodFunction; + lock: Router.MethodFunction; + mkcol: Router.MethodFunction; + move: Router.MethodFunction; + purge: Router.MethodFunction; + propfind: Router.MethodFunction; + proppatch: Router.MethodFunction; + unlock: Router.MethodFunction; + report: Router.MethodFunction; + mkactivity: Router.MethodFunction; + checkout: Router.MethodFunction; + merge: Router.MethodFunction; + "m-search": Router.MethodFunction; + notify: Router.MethodFunction; + subscribe: Router.MethodFunction; + unsubscribe: Router.MethodFunction; + patch: Router.MethodFunction; + search: Router.MethodFunction; + connect: Router.MethodFunction; + } + + export interface PathMethods { + get: Router.PathMethodFunction; + post: Router.PathMethodFunction; + put: Router.PathMethodFunction; + head: Router.PathMethodFunction; + delete: Router.PathMethodFunction; + options: Router.PathMethodFunction; + trace: Router.PathMethodFunction; + copy: Router.PathMethodFunction; + lock: Router.PathMethodFunction; + mkcol: Router.PathMethodFunction; + move: Router.PathMethodFunction; + purge: Router.PathMethodFunction; + propfind: Router.PathMethodFunction; + proppatch: Router.PathMethodFunction; + unlock: Router.PathMethodFunction; + report: Router.PathMethodFunction; + mkactivity: Router.PathMethodFunction; + checkout: Router.PathMethodFunction; + merge: Router.PathMethodFunction; + "m-search": Router.PathMethodFunction; + notify: Router.PathMethodFunction; + subscribe: Router.PathMethodFunction; + unsubscribe: Router.PathMethodFunction; + patch: Router.PathMethodFunction; + search: Router.PathMethodFunction; + connect: Router.PathMethodFunction; + } +} + +interface Router extends Router.MethodFunctions { } class Router { - protected _routes = {} as Route.Routes; + static isRouter = (arg: any): arg is Router => arg instanceof Router; + + tree = new Layer(); + + middlewares: Router.Middleware[] = []; + + routes: Router.Route[] = []; + + params: Router.Params = {}; - constructor() { - httpMethods.map((method) => this._routes[method] = []); + caseSensitive = true; + + ignoreTrailingSlash = false; + + maxParamLength = 100; + + allowUnsafeRegex = false; + + constructor(public prefix = "") { + assert(typeof prefix === "string", "Prefix should be a string"); + + httpMethods.forEach((method) => { + const methodName = method.toLowerCase(); + + if ((this as any)[methodName]) throw new Error(`Method already exists: ${methodName}`); + + (this as any)[methodName] = + (path: string, opts: Layer.RouteOptions | Layer.Handler, ...handlers: Layer.Handler[]) => + this.on(method, path, opts, ...handlers); + }); } - protected _next = ( - req: Request, - res: Response, - url: string, - routes: Route.RouteObject[], - length = routes.length, - index = 0 - ) => { - for (let i = index; i < length; i++) { - const { path, controller, options: { schema } } = routes[i]; + protected _on( + method: Method | Method[], path: string, + opts: Layer.RouteOptions = { schema: {} }, handlers: Layer.Handler[] + ) { + if (Array.isArray(method)) { + method.forEach((m) => this._on(m, path, opts, handlers)); - const params = (path as RegExp).exec(url); + return this; + } - if (params) { - const next = () => this._safeNext.run(req, res, url, routes, length, i + 1); + // method validation + assert(typeof method === "string", "Method should be a string"); + assert(httpMethods.indexOf(method) !== -1, `Method "${method}" is not an http method.`); - req.next = next; + this.routes.push({ method, path: `${this.prefix}${path}`, opts, handlers }); - res.stringify = schema && schema.response; + return this; + } - return controller.run(req, res, next, ...utils.array.tail(params)); - } + protected _insert( + method: Method, path: string, kind: number, options: Layer.RouteOptions = { schema: {} }, + params: string[] | undefined, handlers: Layer.Handler[] = [], regex: RegExp | null + ) { + handlers = (params || []).filter((param) => this.params[param] !== undefined) + .map((param) => this.params[param]) + .concat(handlers); + + const route = path; + let currentNode = this.tree; + let prefix = ""; + let pathLen = 0; + let prefixLen = 0; + let len = 0; + let max = 0; + let node = null; + + while (true) { + prefix = currentNode.prefix; + prefixLen = prefix.length; + pathLen = path.length; + len = 0; + + // search for the longest common prefix + max = pathLen < prefixLen ? pathLen : prefixLen; + while (len < max && path[len] === prefix[len]) len++; + + // the longest common prefix is smaller than the current prefix + // let's split the node and add a new child + if (len < prefixLen) { + node = new Layer( + prefix.slice(len), + currentNode.children, + currentNode.kind, + new (Layer.Handlers as any)(currentNode.handlers), + currentNode.regex, + params + ); + + if (currentNode.wildcardChild !== null) + node.wildcardChild = currentNode.wildcardChild; + + // reset the parent + currentNode + .reset(prefix.slice(0, len)) + .addChild(node); + + // if the longest common prefix has the same length of the current path + // the handler should be added to the current node, to a child otherwise + if (len === pathLen) { + assert(currentNode.getHandler(method).handlersLength === 0, + `Method "${method}" already declared for route "${route}"`); + + currentNode.addHandler(method, options, handlers); + currentNode.kind = kind; + } else { + node = new Layer(path.slice(len), {}, kind, undefined, regex, params); + node.addHandler(method, options, handlers); + currentNode.addChild(node); + } + + // the longest common prefix is smaller than the path length, + // but is higher than the prefix + } else if (len < pathLen) { + // remove the prefix + path = path.slice(len); + // check if there is a child with the label extracted from the new path + node = currentNode.findByLabel(path); + // there is a child within the given label, we must go deepen in the tree + if (node) { + currentNode = node; + + continue; + } + // there are not children within the given label, let's create a new one! + node = new Layer(path, {}, kind, undefined, regex, params); + node.addHandler(method, options, handlers); + + currentNode.addChild(node); + + // the node already exist + // } else if (handler) { + } else if (handlers) + // assert(!currentNode.getHandler(method), `Method "${method}" already declared for route "${route}"`); + currentNode.addHandler(method, options, handlers); + // } + + return this; } + } + + protected _next = (req: Request, res: Response, handlers: Encapsulation[], index = 0) => { + const handler = handlers[index]; + + const next = () => this._safeNext.run(req, res, handlers, index + 1); - throw new HttpException(HTTP.NOT_FOUND); + req.next = next; + + handler.run(req, res, next); } protected _safeNext = new Encapsulation(this._next); - initialize(app: Fox) { - const strict = app.enabled("routing.strict"); - const sensitive = app.enabled("routing.sensitive"); + /* handle built-in middlewares */ + private _use(...handlers: Layer.Handler[]) { + // handler validation + handlers.forEach((handler) => assert(typeof handler === "function", "Handler should be a function")); + + const path = "*"; + + const index = this.middlewares.findIndex((middleware) => path === middleware.path); + if (index === -1) this.middlewares.push({ path, handlers }); + else this.middlewares[index].handlers = handlers.concat(this.middlewares[index].handlers); + + return this; + } + + initialize(app: Foxify) { + this.caseSensitive = app.enabled("routing.case-sensitive"); + this.ignoreTrailingSlash = app.enabled("routing.ignore-trailing-slash"); + this.allowUnsafeRegex = app.enabled("routing.allow-unsafe-regex"); + this.maxParamLength = app.get("routing.max-param-length"); + + /* apply built-in middlewares */ + this._use(init(app)); + + const middlewares = this.middlewares.reduce((prev, middleware) => { + httpMethods.forEach((method) => prev.push({ ...middleware, opts: { schema: {} }, method })); + + return prev; + }, [] as Router.Route[]); + + let routes = this.routes.reduce((prev, { method, path, opts, handlers }) => { + const options = opts; + + const schema = options.schema; + + if (schema) schema.response = utils.object.mapValues( + schema.response || {}, + (value) => fastStringify(value) + ) as any; + + options.schema = schema; + + const newHandlers = middlewares + .filter((middleware) => method === middleware.method && pathMatchesMiddleware(path, middleware.path)) + .reduce((prev, { handlers }) => prev.concat(handlers), [] as Layer.Handler[]) + .concat(handlers); + + const newRoutes = [{ method, path, opts: options, handlers: newHandlers }]; + + if (this.ignoreTrailingSlash && path !== "/" && !path.endsWith("*")) { + let newRoute = { method, path: `${path}/`, opts: options, handlers: newHandlers }; + + if (path.endsWith("/")) newRoute = { method, path: path.slice(0, -1), opts: options, handlers: newHandlers }; + + newRoutes.push(newRoute); + } + + return prev.concat(newRoutes); + }, [] as Router.Route[]); + + const middleware = middlewares.filter((middleware) => middleware.path === "*"); + if (middleware) routes = middleware.concat(routes); + + routes = routes.map((route) => { + route.handlers.push(() => { + throw new HttpException(HTTP.NOT_FOUND); + }); + + return route; + }); + + routes.forEach(({ method, path, opts, handlers }) => { + const params = []; + let j = 0; + + for (let i = 0, len = path.length; i < len; i++) + // search for parametric or wildcard routes + // parametric route + if (path.charCodeAt(i) === 58) { + let nodeType = NODE_TYPES.PARAM; + let staticPart = path.slice(0, i); + j = i + 1; + + if (!this.caseSensitive) staticPart = staticPart.toLowerCase(); - httpMethods.forEach((method) => this._routes[method] = this._routes[method].map((route) => { - const options = route.options; + // add the static part of the route to the tree + this._insert(method, staticPart, NODE_TYPES.STATIC, opts, undefined, undefined, null); - const schema: { response: { [statusCode: number]: any } } | undefined = options.schema; + // isolate the parameter name + let isRegex = false; + while (i < len && path.charCodeAt(i) !== 47) { + isRegex = isRegex || path[i] === "("; - if (schema) - schema.response = utils.object.map(schema.response, (value) => fastStringify(value)); + if (isRegex) { + i = getClosingParenthensePosition(path, i) + 1; + break; + } else if (path.charCodeAt(i) !== 45) i++; + else break; + } - return { - ...route, - options: { - ...options, - schema, - }, - path: pathToRegExp(route.path, [], { strict, sensitive }), + if (isRegex && (i === len || path.charCodeAt(i) === 47)) nodeType = NODE_TYPES.REGEX; + else if (i < len && path.charCodeAt(i) !== 47) nodeType = NODE_TYPES.MULTI_PARAM; + + const parameter = path.slice(j, i); + let regex: any = isRegex ? parameter.slice(parameter.indexOf("("), i) : null; + + if (isRegex) { + regex = new RegExp(regex); + + if (!this.allowUnsafeRegex) assert(isRegexSafe(regex), `The regex "${regex.toString()}" is not safe!`); + } + + params.push(parameter.slice(0, isRegex ? parameter.indexOf("(") : i)); + + path = path.slice(0, j) + path.slice(i); + i = j; + len = path.length; + + // if the path is ended + if (i === len) + return this._insert(method, path.slice(0, i), nodeType, opts, params, handlers, regex); + + // add the parameter and continue with the search + this._insert(method, path.slice(0, i), nodeType, opts, params, undefined, regex); + + i--; + // wildcard route + } else if (path.charCodeAt(i) === 42) { + this._insert(method, path.slice(0, i), NODE_TYPES.STATIC, opts, undefined, undefined, null); + // add the wildcard parameter + params.push("*"); + return this._insert(method, path.slice(0, len), NODE_TYPES.MATCH_ALL, opts, params, handlers, null); + } + + if (!this.caseSensitive) path = path.toLowerCase(); + + // static route + return this._insert(method, path, NODE_TYPES.STATIC, opts, params, handlers, null); + }); + + return this; + } + + on( + method: Method | Method[], path: string, opts: Layer.RouteOptions | Layer.Handler, + ...handlers: Layer.Handler[] + ) { + if (utils.function.isFunction(opts)) { + handlers = [opts].concat(handlers); + opts = {} as Layer.RouteOptions; + } + + // path validation + assert(typeof path === "string", "Path should be a string"); + assert(path.length > 0, "The path could not be empty"); + assert(path[0] === "/" || path[0] === "*", "The first character of a path should be `/` or `*`"); + // handler validation + handlers.forEach((handler) => assert(typeof handler === "function", "Handler should be a function")); + + return this._on(method, path, opts, handlers); + } + + route(path: string): Router.PathMethods { + const ROUTE = httpMethods.reduce((prev, method) => { + const methodName = method.toLowerCase(); + + if (prev[methodName]) throw new Error(`Method already exists: ${methodName}`); + + prev[methodName] = (opts: Layer.RouteOptions | Layer.Handler, ...handlers: Layer.Handler[]) => { + this.on(method, path, opts, ...handlers); + + return ROUTE; }; - })); + + return prev; + }, {} as any); + + return ROUTE; + } + + use(path: string | Layer.Handler | Router, ...handlers: Array) { + let routers = handlers.filter(Router.isRouter); + + if (Router.isRouter(path)) { + routers = [path].concat(routers); + path = "*"; + } + + if (utils.function.isFunction(path)) { + handlers = [path].concat(handlers as Layer.Handler[]); + path = "*"; + } + + handlers = handlers.filter((handler) => !Router.isRouter(handler)); + + // path validation + assert(typeof path === "string", "Path should be a string"); + assert(path.length > 0, "The path could not be empty"); + assert(path[0] === "/" || path[0] === "*", "The first character of a path should be `/` or `*`"); + // handler validation + handlers.forEach((handler) => assert(typeof handler === "function", "Handler should be a function")); + + const index = this.middlewares.findIndex((middleware) => path === middleware.path); + if (index === -1) this.middlewares.push({ path, handlers: handlers as Layer.Handler[] }); + else this.middlewares[index].handlers.push(...handlers as Layer.Handler[]); + + const prefix = `${this.prefix}${path === "*" ? "" : path}`; + routers.forEach((router) => { + router.middlewares.forEach((middleware) => this.use(`${prefix}${middleware.path}`, ...middleware.handlers)); + this.routes = this.routes.concat(router.routes.map((route) => ({ ...route, path: `${prefix}${route.path}` }))); + this.params = Object.assign({}, this.params, router.params); + }); + + return this; + } + + param(param: string, handler: Layer.Handler) { + // path validation + assert(typeof param === "string", "Param should be a string"); + assert(param.length > 0, "The param could not be empty"); + assert(!/\//.test(param), "The first character of a param shouldn't have `/`"); + // handler validation + assert(typeof handler === "function", "Handler should be a function"); + + this.params[param] = handler; + + return this; + } + + reset() { + this.tree = new Layer(); + this.middlewares = []; + this.routes = []; + this.params = {}; + + return this; + } + + lookup(req: Request, res: Response) { + const handle = this.find(req.method as Method, req.path); + + res.stringify = handle.options.schema.response; + + req.params = handle.params; + + this._safeNext.run(req, res, handle.handlers); } - prepend(routes: Route.Routes) { - httpMethods.forEach((method) => this._routes[method] = [...routes[method], ...this._routes[method]]); + find(method: Method, path: string): { + handlers: Encapsulation[]; + options: Layer.RouteOptions; + params: any; + } { + if (!this.caseSensitive) path = path.toLowerCase(); + + const maxParamLength = this.maxParamLength; + let currentNode = this.tree; + let wildcardNode = null; + let pathLenWildcard = 0; + const originalPath = path; + let decoded = null; + let pindex = 0; + const params = []; + let i = 0; + + while (true) { + let pathLen = path.length; + const prefix = currentNode.prefix; + const prefixLen = prefix.length; + let len = 0; + const previousPath = path; + + // found the route + if (pathLen === 0 || path === prefix) { + const handle = currentNode.getHandler(method); + + if (handle.handlersLength > 0) { + const paramsObj: any = {}; + + if (handle.paramsLength > 0) { + const paramNames = handle.params; + + for (i = 0; i < handle.paramsLength; i++) + paramsObj[paramNames[i]] = params[i]; + } + + return { + handlers: handle.handlers, + options: handle.options, + params: paramsObj, + }; + } + } + + // search for the longest common prefix + i = pathLen < prefixLen ? pathLen : prefixLen; + while (len < i && path.charCodeAt(len) === prefix.charCodeAt(len)) len++; + + if (len === prefixLen) { + path = path.slice(len); + pathLen = path.length; + } + + let node = currentNode.findChild(path, method); + + if (node === null) { + node = currentNode.parametricBrother; + + if (node === null) + return getWildcardNode(wildcardNode, method, originalPath, pathLenWildcard); + + path = previousPath; + pathLen = previousPath.length; + len = prefixLen; + } + + const kind = node.kind; + + // static route + if (kind === NODE_TYPES.STATIC) { + // if exist, save the wildcard child + if (currentNode.wildcardChild !== null) { + wildcardNode = currentNode.wildcardChild; + pathLenWildcard = pathLen; + } + + currentNode = node; + continue; + } + + if (len !== prefixLen) + return getWildcardNode(wildcardNode, method, originalPath, pathLenWildcard); + + // if exist, save the wildcard child + if (currentNode.wildcardChild !== null) { + wildcardNode = currentNode.wildcardChild; + pathLenWildcard = pathLen; + } + + // parametric route + if (kind === NODE_TYPES.PARAM) { + currentNode = node; + i = path.indexOf("/"); + + if (i === -1) i = pathLen; + + if (i > maxParamLength) return EMPTY_HANDLE; + + decoded = fastDecode(path.slice(0, i)); + + if (decoded === null) return EMPTY_HANDLE; + + params[pindex++] = decoded; + path = path.slice(i); + + continue; + } + + // wildcard route + if (kind === NODE_TYPES.MATCH_ALL) { + decoded = fastDecode(path); + + if (decoded === null) return EMPTY_HANDLE; + + params[pindex] = decoded; + currentNode = node; + path = ""; + + continue; + } + + // parametric(regex) route + if (kind === NODE_TYPES.REGEX) { + currentNode = node; + i = path.indexOf("/"); + + if (i === -1) i = pathLen; + + if (i > maxParamLength) return EMPTY_HANDLE; + + decoded = fastDecode(path.slice(0, i)); + + if (decoded === null) return EMPTY_HANDLE; + + if (!(node.regex as RegExp).test(decoded)) return EMPTY_HANDLE; + + params[pindex++] = decoded; + path = path.slice(i); + + continue; + } + + // multiparametric route + if (kind === NODE_TYPES.MULTI_PARAM) { + currentNode = node; + i = 0; + + if (node.regex !== null) { + const matchedParameter = path.match(node.regex); + + if (matchedParameter === null) return EMPTY_HANDLE; + + i = matchedParameter[1].length; + } else { + while (i < pathLen && path.charCodeAt(i) !== 47 && path.charCodeAt(i) !== 45) i++; + + if (i > maxParamLength) return EMPTY_HANDLE; + } + + decoded = fastDecode(path.slice(0, i)); + + if (decoded === null) return EMPTY_HANDLE; + + params[pindex++] = decoded; + path = path.slice(i); + + continue; + } + + wildcardNode = null; + } } - push(routes: Route.Routes) { - httpMethods.forEach((method) => this._routes[method].push(...routes[method])); + prettyPrint() { + return this.tree.prettyPrint("", true); } - route(req: Request, res: Response) { - this._safeNext.run(req, res, req.path, this._routes[req.method as string]); + all(path: string, ...handlers: Layer.Handler[]) { + return this.on.apply(this, [httpMethods, path, ...handlers]); } } diff --git a/src/routing/httpMethods.ts b/src/routing/httpMethods.ts index 6231c74..c6d844c 100644 --- a/src/routing/httpMethods.ts +++ b/src/routing/httpMethods.ts @@ -1,3 +1,11 @@ -import * as httpMethods from "methods"; +import * as http from "http"; -export default httpMethods.map((method) => method.toUpperCase()); +export type Method = "ACL" | "BIND" | "CHECKOUT" | "CONNECT" | "COPY" | + "DELETE" | "GET" | "HEAD" | "LINK" | "LOCK" | "M-SEARCH" | "MERGE" | "MKACTIVITY" | + "MKCALENDAR" | "MKCOL" | "MOVE" | "NOTIFY" | "OPTIONS" | "PATCH" | "POST" | + "PROPFIND" | "PROPPATCH" | "PURGE" | "PUT" | "REBIND" | "REPORT" | "SEARCH" | + "SOURCE" | "SUBSCRIBE" | "TRACE" | "UNBIND" | "UNLINK" | "UNLOCK" | "UNSUBSCRIBE"; + +const METHODS = http.METHODS as Method[]; + +export default METHODS; diff --git a/src/routing/index.ts b/src/routing/index.ts index 9ad210a..40652ac 100644 --- a/src/routing/index.ts +++ b/src/routing/index.ts @@ -1,9 +1,9 @@ import httpMethods from "./httpMethods"; +import * as Layer from "./Layer"; import * as Router from "./Router"; -import * as Route from "./Route"; export { httpMethods, + Layer, Router, - Route, }; diff --git a/src/typings.d.ts b/src/typings.d.ts index 2ff64da..0f02e76 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -19,3 +19,4 @@ declare module "*.json" { declare module "encodeurl" declare module "serve-static" declare module "fast-json-stringify" +declare module "fast-decode-uri-component"