Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BufferedHTMLResponse

import { BufferedHTMLResponse } from "https://raw.githubusercontent.com/worker-tools/shed/master/index.ts";

If for any reason you don't want to use streaming response bodies, you can use this class instead, which will buffer the entire body before releasing it to the network. Note that headers will still be sent immediately.

class BufferedHTMLResponse extends BufferedStreamResponse {
constructor(html: HTML, { headers: _headers, ...init }?: ResponseInit);
static contentType: string;
}

§Extends

§
BufferedStreamResponse
[src]

§Constructors

§
new BufferedHTMLResponse(html: HTML, { headers: _headers, ...init }?: ResponseInit)
[src]

§Static Properties

§
contentType: string
[src]