Skip to content

Glossary: Queues, Jobs and Events

app.inject

Also written: inject

A Fastify method that runs a request through your app without starting a real network server. It is handy for timing and testing routes, for example `app.inject({ method: "POST", url: "/orders" })`.

Where the book teaches it

Related terms

Fastify