Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastify/fastify
/ functions
Functions
658 in github.com/fastify/fastify
⨍
Functions
658
◇
Types & classes
142
Function
auxiliaryHandler
(request: FastifyRequest, reply: FastifyReply, done: HookHandlerDoneFunction)
test/types/type-provider.tst.ts:1169
Function
barInstance
(instance, opts, next)
test/genReqId.test.js:212
Function
basic404
(request, reply)
lib/four-oh-four.js:55
Function
bazInstance
(instance, opts, next)
test/genReqId.test.js:199
Function
bucket
()
test/schema-special-usage.test.js:397
Function
buildContentTypeParser
(c)
lib/content-type-parser.js:337
Function
buildReply
(R)
lib/reply.js:1001
Function
buildSchemaController
* 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
Function
buildSchemas
(initStore)
lib/schemas.js:211
Method
cache
* 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
Function
cancel
(reason)
test/route.7.test.js:72
Function
cancel
()
test/web-api.test.js:409
Function
channel
(name)
test/diagnostics-channel/init.test.js:12
Function
checkDecorators
(fn)
lib/plugin-utils.js:80
Function
checkDependencies
(fn)
lib/plugin-utils.js:65
Function
checkId
(done)
test/internals/logger.test.js:36
Function
checkIdExists
(schema, data)
test/schema-special-usage.test.js:846
Function
checkOrder
(shouldbe)
test/hooks.on-ready.test.js:139
Function
checkPluginHealthiness
(fn, pluginName)
lib/plugin-utils.js:141
Function
checkReplyExistence
(name)
lib/decorate.js:108
Function
checkRequestExistence
(name)
lib/decorate.js:102
Function
checkVersion
(fn)
lib/plugin-utils.js:109
Function
child
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1325
Method
child
(bindings: P.Bindings, options?: P.ChildLoggerOptions)
test/types/logger.tst.ts:60
Function
childLoggerFactory
( this: FastifyInstance, logger: FastifyBaseLogger, bindings: Bindings, opts: ChildLoggerOptions, re
test/types/instance.tst.ts:292
Function
clientErrorHandler
(err, socket)
test/reply-error.test.js:149
Function
closeSecondary
()
lib/server.js:191
Method
constructor
* @param {object} [options] * @param {boolean | ((req: object) => boolean)} [options.disableRequestLogging=false] * When `true` (or a function
lib/log-controller.js:21
Method
constructor
(headerValue)
lib/content-type.js:81
Method
constructor
(parent, options)
lib/schema-controller.js:41
Method
constructor
()
test/internals/logger.test.js:401
Function
context
()
test/internals/plugin.test.js:68
Function
context1
(instance, opts, done)
test/logger/response.test.js:36
Function
context1
(instance, opts, done)
test/logger/options.test.js:306
Function
custom
(req)
test/genReqId.test.js:95
Function
custom
({ schema, httpStatus, url, method })
test/internals/reply-serialize.test.js:144
Function
custom
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:201
Function
custom2
({ schema, httpStatus, url, method, contentType })
test/internals/reply-serialize.test.js:157
Function
customChild
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1173
Function
customGlobalChildLogger
(logger, bindings, opts, req)
test/route.5.test.js:55
Function
customGlobalErrorHandler
(error, request, reply)
test/route.4.test.js:11
Method
customMethod
(msg: string, ...args: unknown[])
test/types/logger.tst.ts:41
Method
customMethod
(msg: string, ...args: unknown[])
test/types/logger.tst.ts:46
Function
customOnSend
(res, reply, payload, done)
test/route.6.test.js:213
Function
customParent
({ schema, httpPart, url, method })
test/internals/request-validate.test.js:1168
Function
customParser
(req, payload, done)
test/custom-parser.0.test.js:83
Function
customParser
(req, payload, done)
test/throw.test.js:138
Function
customRouteChildLogger
(logger, bindings, opts, req)
test/route.4.test.js:103
Function
customRouteChildLogger
(logger, bindings, opts, req)
test/route.5.test.js:11
Function
customRouteErrorHandler
(error, request, reply)
test/route.4.test.js:16
Function
customRouteErrorHandler
(error, request, reply)
test/route.3.test.js:95
Function
customSerializer
(data)
test/http-methods/get.test.js:167
Function
customTypedHook
(request, reply)
test/types/hooks.tst.ts:253
Function
customValidatorCompiler
test/schema-validation.test.js:23
Function
decorateFastify
(name, fn, dependencies)
lib/decorate.js:75
Function
decorateReply
(name, fn, dependencies)
lib/decorate.js:130
Function
decorateRequest
(name, fn, dependencies)
lib/decorate.js:137
Function
decorator
(instance, opts, done)
test/decorator.test.js:588
Function
decorator1
()
test/decorator.test.js:998
Function
decorator2
()
test/decorator.test.js:999
Function
defaultBuildPrettyMeta
(route)
fastify.js:938
Function
defaultChildLoggerFactory
Default factory to create child logger instance * * @param {import('../fastify.js').FastifyBaseLogger} logger * @param {import('../types/logger.js'
lib/logger-factory.js:51
Function
defaultClientErrorHandler
(err, socket)
fastify.js:951
Function
defaultErrorHandler
(error, request, reply)
lib/error-handler.js:78
Function
defaultJsonParser
(req, body, done)
lib/content-type-parser.js:313
Function
defaultPlainTextParser
(req, body, done)
lib/content-type-parser.js:326
Function
defaultResolveServerListeningText
(address)
lib/server.js:23
Function
defaultRoute
(req, res)
fastify.js:629
Function
defaultSchemaErrorFormatter
(errors, dataVar)
lib/context.js:84
Function
delete
()
lib/noop-set.js:7
Function
dependency
(instance, opts, done)
test/plugin.3.test.js:244
Function
destroy
(asyncId)
test/async_hooks.test.js:15
Function
destroy
()
test/request-error.test.js:152
Function
destroy
(err, cb)
test/internals/reply.test.js:70
Function
doNotWarn
()
test/listen.1.test.js:16
Function
done
()
test/internals/content-type-parser.test.js:47
Function
echoBody
(req, reply)
test/validation-error-handling.test.js:18
Function
echoBody
(req, reply)
test/schema-serialization.test.js:7
Function
echoBody
(req, reply)
test/schema-feature.test.js:13
Function
echoParams
(req, reply)
test/schema-feature.test.js:12
Function
err
(error)
test/types/logger.tst.ts:168
Function
errEventHandler
(err)
lib/server.js:282
Function
errorHandler
(_, request, reply)
test/404s.test.js:1971
Function
errorPlugin
(app, opts, done)
test/plugin.4.test.js:490
Function
example
()
test/internals/plugin.test.js:33
Function
factoryBucket
(storeInit)
test/schema-feature.test.js:1556
Function
fastifyErrorHandler
(this: FastifyInstance, error: FastifyError)
test/types/instance.tst.ts:64
Function
fastifySetGenReqId
(req: RawRequestDefaultExpression)
test/types/instance.tst.ts:59
Function
findRoute
(options)
lib/route.js:180
Function
fn
(body)
test/internals/handle-request.test.js:16
Function
fn
(req, bodyInString, done)
test/internals/content-type-parser.test.js:18
Function
fn1
(a, b, done)
test/internals/hook-runner.test.js:17
Function
fn2
(a, b, done)
test/internals/hook-runner.test.js:23
Function
fn3
(a, b, done)
test/internals/hook-runner.test.js:29
Function
fooInstance
(instance, opts, next)
test/genReqId.test.js:223
Function
fourOhFour
* 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
Function
fourOhFourFallBack
(req, res)
lib/four-oh-four.js:172
Function
get
()
fastify.js:289
Function
get
()
lib/reply.js:84
Function
get
()
lib/request.js:111
← previous
next →
301–400 of 658, ranked by callers