CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-dev (changelog, source)
Search

Module Fastify

Provides classes for working with Fastify applications.

Import path

import javascript

Predicates

server

Gets a data flow node referring to a fastify server.

server

Gets a data flow node referring to the given fastify server instance.

Classes

RouteHandler

A function used as a Fastify route handler.

RouteSetup

A call to a Fastify method that sets up a route.

ServerDefinition

An expression that creates a new Fastify server.

SetMultipleHeaders

An invocation that sets any number of headers of the HTTP response.

StandardRouteHandler

A Fastify route handler installed by a route setup.

StandardServerDefinition

A standard way to create a Fastify server.