Skip to content

Glossary: Real-Time Apps with WebSockets

reply.hijack()

Also written: reply.raw, flushHeaders

A Fastify call that stops Fastify managing a reply so you can write it yourself. `reply.raw` is Node's own response, and `write` sends pieces of the body while leaving the response open.

Where the book teaches it

Related terms

Server-sent events (SSE)