@anzaui/engine - v0.6.0
    Preparing search index...
    • An HTML Response (text/html; charset=utf-8).

      Parameters

      • document: string | Document

        A rendered Document or an HTML string.

      • status: number = 200

        HTTP status. Default 200.

      • Optionalheaders: HeadersInit

        Extra headers; they can override Content-Type.

      Returns Response

      The response.

      return htmlResponse(await new Page('/', { title: 'Home' }).run(engine));