SYMBOL INDEX (160 symbols across 75 files) FILE: benchmark/benchmarks/middleware.js function handler (line 15) | function handler(req, res, next) { FILE: benchmark/benchmarks/router-heavy.js function handler (line 102) | function handler(req, res) { function attachRoute (line 106) | function attachRoute(parent, routeConfig) { FILE: benchmark/index.js function select (line 15) | function select(callback) { FILE: benchmark/lib/autocannon.js function writeResult (line 10) | function writeResult(handler, version, result) { function fire (line 23) | function fire(opts, handler, version, save, cb) { function compare (line 45) | function compare(handler) { FILE: benchmark/lib/bench.js function runBenchmark (line 10) | function runBenchmark(opts, handler, version, cb) { function start (line 78) | function start(opts, list, index) { FILE: examples/todoapp/lib/client.js function TodoClient (line 14) | function TodoClient(options) { FILE: examples/todoapp/lib/server.js function formatTodo (line 39) | function formatTodo(req, res, body, cb) { function authenticate (line 65) | function authenticate(req, res, next) { function createTodo (line 104) | function createTodo(req, res, next) { function deleteTodo (line 138) | function deleteTodo(req, res, next) { function deleteAll (line 153) | function deleteAll(req, res, next) { function ensureTodo (line 182) | function ensureTodo(req, res, next) { function getTodo (line 206) | function getTodo(req, res, next) { function loadTodos (line 240) | function loadTodos(req, res, next) { function listTodos (line 269) | function listTodos(req, res, next) { function putTodo (line 279) | function putTodo(req, res, next) { function createServer (line 303) | function createServer(options) { FILE: examples/todoapp/main.js function parseOptions (line 31) | function parseOptions() { function usage (line 77) | function usage(msg) { FILE: lib/chain.js function Chain (line 31) | function Chain(options) { function next (line 138) | function next(err) { function call (line 174) | function call(handler, err, req, res, _next) { FILE: lib/deprecationWarnings.js function deprecationWarnings (line 3) | function deprecationWarnings(server) { FILE: lib/formatters/binary.js function formatBinary (line 17) | function formatBinary(req, res, body) { FILE: lib/formatters/json.js function formatJSON (line 20) | function formatJSON(req, res, body) { FILE: lib/formatters/jsonp.js function formatJSONP (line 18) | function formatJSONP(req, res, body) { FILE: lib/formatters/text.js function formatText (line 17) | function formatText(req, res, body) { FILE: lib/helpers/chainComposer.js function composeHandlerChain (line 20) | function composeHandlerChain(handlers, options) { FILE: lib/index.js function createServer (line 73) | function createServer(options) { FILE: lib/plugins/accept.js function acceptParser (line 28) | function acceptParser(accepts) { FILE: lib/plugins/audit.js function getResponseHeaders (line 24) | function getResponseHeaders(res) { function auditLogger (line 175) | function auditLogger(opts) { FILE: lib/plugins/authorization.js function parseBasic (line 26) | function parseBasic(string) { function parseSignature (line 65) | function parseSignature(request, options) { function authorizationParser (line 107) | function authorizationParser(options) { FILE: lib/plugins/bodyParser.js function bodyParser (line 125) | function bodyParser(options) { FILE: lib/plugins/bodyReader.js function createBodyWriter (line 23) | function createBodyWriter(req) { function bodyReader (line 65) | function bodyReader(options) { FILE: lib/plugins/conditionalHandler.js function conditionalHandler (line 71) | function conditionalHandler(candidates) { FILE: lib/plugins/conditionalRequest.js function checkIfMatch (line 20) | function checkIfMatch(req, res, next) { function checkIfNoneMatch (line 53) | function checkIfNoneMatch(req, res, next) { function checkIfModified (line 96) | function checkIfModified(req, res, next) { function checkIfUnmodified (line 146) | function checkIfUnmodified(req, res, next) { function conditionalRequest (line 211) | function conditionalRequest() { FILE: lib/plugins/cpuUsageThrottle.js function cpuUsageThrottlePlugin (line 103) | function cpuUsageThrottlePlugin(opts) { FILE: lib/plugins/date.js function dateParser (line 38) | function dateParser(clockSkew) { FILE: lib/plugins/fieldedTextBodyParser.js function fieldedTextParser (line 21) | function fieldedTextParser(options) { FILE: lib/plugins/formBodyParser.js function urlEncodedBodyParser (line 29) | function urlEncodedBodyParser(options) { FILE: lib/plugins/fullResponse.js function setHeaders (line 11) | function setHeaders(req, res) { function fullResponse (line 63) | function fullResponse() { FILE: lib/plugins/gzip.js function _writeHead (line 15) | function _writeHead(originalFunction) { function gzipResponse (line 50) | function gzipResponse(opts) { FILE: lib/plugins/inflightRequestThrottle.js function inflightRequestThrottle (line 38) | function inflightRequestThrottle(opts) { FILE: lib/plugins/jsonBodyParser.js function jsonBodyParser (line 22) | function jsonBodyParser(options) { FILE: lib/plugins/jsonp.js function jsonp (line 25) | function jsonp() { FILE: lib/plugins/metrics.js function createMetrics (line 48) | function createMetrics(opts, callback) { FILE: lib/plugins/multipartBodyParser.js function multipartBodyParser (line 28) | function multipartBodyParser(options) { FILE: lib/plugins/oauth2TokenParser.js function parseHeader (line 21) | function parseHeader(req) { function oauth2TokenParser (line 61) | function oauth2TokenParser(options) { FILE: lib/plugins/pre/context.js function ctx (line 29) | function ctx() { FILE: lib/plugins/pre/dedupeSlashes.js function createDedupeSlashes (line 19) | function createDedupeSlashes() { FILE: lib/plugins/pre/pause.js function pauseStream (line 13) | function pauseStream(stream) { function pause (line 61) | function pause() { FILE: lib/plugins/pre/prePath.js function strip (line 15) | function strip(path) { function sanitizePath (line 45) | function sanitizePath() { FILE: lib/plugins/pre/reqIdHeaders.js function createReqIdHeaders (line 20) | function createReqIdHeaders(opts) { FILE: lib/plugins/pre/strictQueryParams.js function strictQueryParams (line 29) | function strictQueryParams(options) { FILE: lib/plugins/pre/userAgent.js function userAgentConnection (line 30) | function userAgentConnection(options) { FILE: lib/plugins/query.js function queryParser (line 46) | function queryParser(options) { FILE: lib/plugins/requestExpiry.js function requestExpiry (line 61) | function requestExpiry(opts) { FILE: lib/plugins/requestLogger.js function requestLogger (line 42) | function requestLogger(options) { FILE: lib/plugins/static.js function serveStatic (line 77) | function serveStatic(options) { FILE: lib/plugins/staticFiles.js function serveStaticFiles (line 62) | function serveStaticFiles(directory, opts) { FILE: lib/plugins/throttle.js function xor (line 24) | function xor() { function TokenBucket (line 61) | function TokenBucket(options) { function TokenTable (line 134) | function TokenTable(options) { function throttle (line 245) | function throttle(options) { FILE: lib/plugins/utils/hrTimeDurationInMs.js function hrTimeDurationInMs (line 14) | function hrTimeDurationInMs(startTime, endTime) { FILE: lib/plugins/utils/shallowCopy.js function shallowCopy (line 13) | function shallowCopy(obj) { FILE: lib/request.js function negotiator (line 25) | function negotiator(req) { function patch (line 51) | function patch(Request) { FILE: lib/response.js function patch (line 41) | function patch(Response) { function flush (line 858) | function flush(res, body) { function formatterError (line 900) | function formatterError(res, err, msg) { FILE: lib/router.js function Router (line 38) | function Router(options) { function pathItem (line 140) | function pathItem(match, key) { function queryItem (line 149) | function queryItem(key) { FILE: lib/routerRegistryRadix.js function RouterRegistryRadix (line 16) | function RouterRegistryRadix(options) { FILE: lib/server.js function handleWithDomain (line 42) | function handleWithDomain(req, res, onError, next) { function Server (line 125) | function Server(options) { function proxyEventWhenListenerAdded (line 327) | function proxyEventWhenListenerAdded( function handlersToString (line 906) | function handlersToString(arr) { function onReqAborted (line 1355) | function onReqAborted() { function onResFinish (line 1372) | function onResFinish() { function onResClose (line 1391) | function onResClose() { function argumentsToChain (line 1638) | function argumentsToChain(handlers) { function mergeFormatters (line 1678) | function mergeFormatters(fmt) { function errEvtNameFromError (line 1734) | function errEvtNameFromError(err) { function serverMethodFactory (line 1756) | function serverMethodFactory(method) { FILE: lib/upgrade.js function InvalidUpgradeStateError (line 16) | function InvalidUpgradeStateError(msg) { function createServerUpgradeResponse (line 61) | function createServerUpgradeResponse(req, socket, head) { function ServerUpgradeResponse (line 75) | function ServerUpgradeResponse(socket, head) { function notImplemented (line 103) | function notImplemented(method) { FILE: lib/utils.js function shallowCopy (line 13) | function shallowCopy(obj) { function mergeQs (line 34) | function mergeQs(obj1, obj2) { FILE: test/lib/helper.js method dtrace (line 85) | get dtrace() { FILE: test/lib/server-withDisableUncaughtException.js function main (line 10) | function main() { FILE: test/lib/streamRecorder.js class StreamRecorder (line 5) | class StreamRecorder extends stream.Writable { method constructor (line 6) | constructor(options) { method _write (line 12) | _write(chunk, encoding, callback) { method flushRecords (line 18) | flushRecords() { FILE: test/plugins/audit.test.js constant LOG_BUFFER (line 25) | let LOG_BUFFER; function assertIsAtLeastWithTolerate (line 27) | function assertIsAtLeastWithTolerate(num1, num2, tolerate, msg) { FILE: test/plugins/bodyReader.test.js function listenerCount (line 292) | function listenerCount(emitter) { FILE: test/plugins/conditionalHandler.test.js function handlerFactory (line 17) | function handlerFactory(response, version) { FILE: test/plugins/cpuUsageThrottle.test.js function next (line 33) | function next(cont) { function next (line 44) | function next(cont) { FILE: test/plugins/inflightRequestThrottle.test.js function fakeServer (line 9) | function fakeServer(count) { function send (line 22) | function send(body) { function next (line 28) | function next(err) { function trace (line 32) | function trace() { function send (line 45) | function send(body) { function next (line 48) | function next(nextErr) { function send (line 59) | function send() { function next (line 62) | function next(cont) { function finish (line 77) | function finish() { FILE: test/plugins/metrics.test.js function adjustExpectedLatency (line 18) | function adjustExpectedLatency(expectedLatency, nbTimers) { FILE: test/plugins/static.test.js function serveStaticTest (line 68) | function serveStaticTest(done, testDefault, tmpDir, regex, staticFile) { function testNoAppendPath (line 125) | function testNoAppendPath(done, testDefault, tmpDir, regex, staticFile) { FILE: test/plugins/staticFiles.test.js function simpleTests (line 47) | function simpleTests(endpoint, filePath, contentType, done) { function testsWithOptions (line 143) | function testsWithOptions(endpoint, filePath, options, contentType, done) { function negativeTests (line 268) | function negativeTests( function testsWithOptions (line 371) | function testsWithOptions(endpoint, filePath, done) { FILE: test/plugins/throttle.test.js function setupClientServer (line 19) | function setupClientServer(ip, throttleOptions, done) { FILE: test/response.test.js function join (line 77) | function join() { function A (line 418) | function A(req, res, next) { function B (line 422) | function B(req, res, next) { function redirect (line 427) | function redirect(req, res, next) { function preRedirectHandler (line 448) | function preRedirectHandler(req, res, next) { function redirect (line 455) | function redirect(req, res, next) { function handler (line 478) | function handler(req, res, next) { FILE: test/router.test.js function handler (line 33) | function handler(req, res, next) { function handler (line 58) | function handler(req, res, next) { function handler (line 98) | function handler(req, res, next) { function handler (line 151) | function handler(req, res, next) { function handler1 (line 300) | function handler1(req, res, next) { function handler2 (line 303) | function handler2(req, res, next) { function handler (line 331) | function handler(req, res, next) { function handler (line 354) | function handler(req, res, next) { FILE: test/routerRegistryRadix.test.js function getTestRoute (line 16) | function getTestRoute(opts) { FILE: test/server.test.js constant LOG_BUFFER (line 36) | let LOG_BUFFER; function route (line 829) | function route(req, res, next) { function MyCustomError (line 1048) | function MyCustomError() {} function getDone (line 2683) | function getDone(_, __, res) { FILE: test/upgrade.test.js function finish_latch (line 32) | function finish_latch(_test, _names) { FILE: tools/docsBuild.js function build (line 96) | function build(options) {