Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Super-agent driven library for testing Deno HTTP servers.
Latest
method Oak.FormDataReader.prototype.stream
import { Oak } from "https://deno.land/x/superdeno@4.9.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]>