MCPcopy Create free account

hub / github.com/fastify/fastify / functions

Functions658 in github.com/fastify/fastify

FunctionauxiliaryHandler
(request: FastifyRequest, reply: FastifyReply, done: HookHandlerDoneFunction)
test/types/type-provider.tst.ts:1169
FunctionbarInstance
(instance, opts, next)
test/genReqId.test.js:212
Functionbasic404
(request, reply)
lib/four-oh-four.js:55
FunctionbazInstance
(instance, opts, next)
test/genReqId.test.js:199
Functionbucket
()
test/schema-special-usage.test.js:397
FunctionbuildContentTypeParser
(c)
lib/content-type-parser.js:337
FunctionbuildReply
(R)
lib/reply.js:1001
FunctionbuildSchemaController
* Called at every fastify context that is being created. * @param {object} parentSchemaCtrl: the SchemaController instance of the Fastify parent cont
lib/schema-controller.js:11
FunctionbuildSchemas
(initStore)
lib/schemas.js:211
Methodcache
* The shared cache of ContentType instances. The cache is used to avoid * creating multiple instances of ContentType for the same header value.
lib/content-type.js:65
Functioncancel
(reason)
test/route.7.test.js:72
Functioncancel
()
test/web-api.test.js:409
Functionchannel
(name)
test/diagnostics-channel/init.test.js:12
FunctioncheckDecorators
(fn)
lib/plugin-utils.js:80
FunctioncheckDependencies
(fn)
lib/plugin-utils.js:65
FunctioncheckId
(done)
test/internals/logger.test.js:36
FunctioncheckIdExists
(schema, data)
test/schema-special-usage.test.js:846
FunctioncheckOrder
(shouldbe)
test/hooks.on-ready.test.js:139
FunctioncheckPluginHealthiness
(fn, pluginName)
lib/plugin-utils.js:141
FunctioncheckReplyExistence
(name)
lib/decorate.js:108
FunctioncheckRequestExistence
(name)
lib/decorate.js:102
FunctioncheckVersion
(fn)
lib/plugin-utils.js:109
Functionchild
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1325
Methodchild
(bindings: P.Bindings, options?: P.ChildLoggerOptions)
test/types/logger.tst.ts:60
FunctionchildLoggerFactory
( this: FastifyInstance, logger: FastifyBaseLogger, bindings: Bindings, opts: ChildLoggerOptions, re
test/types/instance.tst.ts:292
FunctionclientErrorHandler
(err, socket)
test/reply-error.test.js:149
FunctioncloseSecondary
()
lib/server.js:191
Methodconstructor
* @param {object} [options] * @param {boolean | ((req: object) => boolean)} [options.disableRequestLogging=false] * When `true` (or a function
lib/log-controller.js:21
Methodconstructor
(headerValue)
lib/content-type.js:81
Methodconstructor
(parent, options)
lib/schema-controller.js:41
Methodconstructor
()
test/internals/logger.test.js:401
Functioncontext
()
test/internals/plugin.test.js:68
Functioncontext1
(instance, opts, done)
test/logger/response.test.js:36
Functioncontext1
(instance, opts, done)
test/logger/options.test.js:306
Functioncustom
(req)
test/genReqId.test.js:95
Functioncustom
({ schema, httpStatus, url, method })
test/internals/reply-serialize.test.js:144
Functioncustom
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:201
Functioncustom2
({ schema, httpStatus, url, method, contentType })
test/internals/reply-serialize.test.js:157
FunctioncustomChild
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1173
FunctioncustomGlobalChildLogger
(logger, bindings, opts, req)
test/route.5.test.js:55
FunctioncustomGlobalErrorHandler
(error, request, reply)
test/route.4.test.js:11
MethodcustomMethod
(msg: string, ...args: unknown[])
test/types/logger.tst.ts:41
MethodcustomMethod
(msg: string, ...args: unknown[])
test/types/logger.tst.ts:46
FunctioncustomOnSend
(res, reply, payload, done)
test/route.6.test.js:213
FunctioncustomParent
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1168
FunctioncustomParser
(req, payload, done)
test/custom-parser.0.test.js:83
FunctioncustomParser
(req, payload, done)
test/throw.test.js:138
FunctioncustomRouteChildLogger
(logger, bindings, opts, req)
test/route.4.test.js:103
FunctioncustomRouteChildLogger
(logger, bindings, opts, req)
test/route.5.test.js:11
FunctioncustomRouteErrorHandler
(error, request, reply)
test/route.4.test.js:16
FunctioncustomRouteErrorHandler
(error, request, reply)
test/route.3.test.js:95
FunctioncustomSerializer
(data)
test/http-methods/get.test.js:167
FunctioncustomTypedHook
(request, reply)
test/types/hooks.tst.ts:253
FunctioncustomValidatorCompiler
test/schema-validation.test.js:23
FunctiondecorateFastify
(name, fn, dependencies)
lib/decorate.js:75
FunctiondecorateReply
(name, fn, dependencies)
lib/decorate.js:130
FunctiondecorateRequest
(name, fn, dependencies)
lib/decorate.js:137
Functiondecorator
(instance, opts, done)
test/decorator.test.js:588
Functiondecorator1
()
test/decorator.test.js:998
Functiondecorator2
()
test/decorator.test.js:999
FunctiondefaultBuildPrettyMeta
(route)
fastify.js:938
FunctiondefaultChildLoggerFactory
Default factory to create child logger instance * * @param {import('../fastify.js').FastifyBaseLogger} logger * @param {import('../types/logger.js'
lib/logger-factory.js:51
FunctiondefaultClientErrorHandler
(err, socket)
fastify.js:951
FunctiondefaultErrorHandler
(error, request, reply)
lib/error-handler.js:78
FunctiondefaultJsonParser
(req, body, done)
lib/content-type-parser.js:313
FunctiondefaultPlainTextParser
(req, body, done)
lib/content-type-parser.js:326
FunctiondefaultResolveServerListeningText
(address)
lib/server.js:23
FunctiondefaultRoute
(req, res)
fastify.js:629
FunctiondefaultSchemaErrorFormatter
(errors, dataVar)
lib/context.js:84
Functiondelete
()
lib/noop-set.js:7
Functiondependency
(instance, opts, done)
test/plugin.3.test.js:244
Functiondestroy
(asyncId)
test/async_hooks.test.js:15
Functiondestroy
()
test/request-error.test.js:152
Functiondestroy
(err, cb)
test/internals/reply.test.js:70
FunctiondoNotWarn
()
test/listen.1.test.js:16
Functiondone
()
test/internals/content-type-parser.test.js:47
FunctionechoBody
(req, reply)
test/validation-error-handling.test.js:18
FunctionechoBody
(req, reply)
test/schema-serialization.test.js:7
FunctionechoBody
(req, reply)
test/schema-feature.test.js:13
FunctionechoParams
(req, reply)
test/schema-feature.test.js:12
Functionerr
(error)
test/types/logger.tst.ts:168
FunctionerrEventHandler
(err)
lib/server.js:282
FunctionerrorHandler
(_, request, reply)
test/404s.test.js:1971
FunctionerrorPlugin
(app, opts, done)
test/plugin.4.test.js:490
Functionexample
()
test/internals/plugin.test.js:33
FunctionfactoryBucket
(storeInit)
test/schema-feature.test.js:1556
FunctionfastifyErrorHandler
(this: FastifyInstance, error: FastifyError)
test/types/instance.tst.ts:64
FunctionfastifySetGenReqId
(req: RawRequestDefaultExpression)
test/types/instance.tst.ts:59
FunctionfindRoute
(options)
lib/route.js:180
Functionfn
(body)
test/internals/handle-request.test.js:16
Functionfn
(req, bodyInString, done)
test/internals/content-type-parser.test.js:18
Functionfn1
(a, b, done)
test/internals/hook-runner.test.js:17
Functionfn2
(a, b, done)
test/internals/hook-runner.test.js:23
Functionfn3
(a, b, done)
test/internals/hook-runner.test.js:29
FunctionfooInstance
(instance, opts, next)
test/genReqId.test.js:223
FunctionfourOhFour
* Each fastify instance have a: * kFourOhFourLevelInstance: point to a fastify instance that has the 404 handler set * kCanSetNotFoundHandler: bool
lib/four-oh-four.js:32
FunctionfourOhFourFallBack
(req, res)
lib/four-oh-four.js:172
Functionget
()
fastify.js:289
Functionget
()
lib/reply.js:84
Functionget
()
lib/request.js:111
← previousnext →301–400 of 658, ranked by callers