Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/superdeno/test/deps.ts>Oak.FormDataReader#stream

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.FormDataReader.prototype.stream
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { FormDataReader } = Oak;

Returns an iterator which will asynchronously yield each part of the form data. The yielded value is a tuple, where the first element is the name of the part and the second element is a string or a FormDataFile object.

Parameters

optional
options: FormDataReadOptions = [UNSUPPORTED]

Returns

AsyncIterableIterator<[string, string | FormDataFile]>