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

x/hex/src/fw/service/deps.ts>oak.FormDataReader#stream

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Go to Latest
method oak.FormDataReader.prototype.stream
import { oak } from "https://deno.land/x/hex@0.6.3/src/fw/service/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]>