x/oak/util.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
interface ReadableStreamFromReaderOptions
import { type ReadableStreamFromReaderOptions } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/util.ts?s=ReadableStreamFromReaderOptions";

Properties

optional
autoClose: boolean
[src]

If the reader is also a Deno.Closer, automatically close the reader when EOF is encountered, or a read error occurs.

Defaults to true.

optional
chunkSize: number
[src]

The size of chunks to allocate to read, the default is ~16KiB, which is the maximum size that Deno operations can currently support.

optional
strategy: { highWaterMark?: number | undefined; size?: undefined; }
[src]

The queuing strategy to create the ReadableStream with.