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

Usage

import * as streamResponse from "https://raw.githubusercontent.com/worker-tools/stream-response/master/index.ts";

§Classes

BufferedByteStreamResponse
BufferedResponse

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.

BufferedStreamResponse

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.

ByteStreamRequest
ByteStreamResponse
StreamRequest
StreamResponse

§Type Aliases

ByteStreamBodyInit
ByteStreamRequestInit
StreamBodyInit
StreamRequestInit