Fastify

Example of using Vike with Fastify:

HTML Streaming

For integrating an HTML stream into your server we recommend using pageContext.httpResponse.pipe().

But Fastify doesn't seem to expose any writable stream (as far as we know). As a workaroud, you can directly use Node.js's writable stream as shown here.

If this workaround doesn't work out for you, you can fallback to pageContext.httpResponse.getReadableNodeStream().