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

Module Http::Servers

Boiler-plate implementation of a Server and its associated classes. Made for easily defining new HTTP servers

Import path

import javascript

Classes

RequestSource

A request source, that is, a data flow node through which a request object enters the flow graph, such as the request parameter of a route handler.

ResponseSource

A response source, that is, a data flow node through which a response object enters the flow graph, such as the response parameter of a route handler.

StandardHeaderDefinition

A standard header definition.

StandardRequestNode

A request expression arising from a request source.

StandardResponseNode

A response expression arising from a response source.

StandardRouteHandler

A standard route handler.

StandardRouteSetup

A standard route setup on a server.

StandardServerDefinition

A standard server definition.