Skip to main content
Go to Latest
method FormDataReader.prototype.stream
import { FormDataReader } from "https://deno.land/x/oak_sessions@v4.0.0/deps.ts";

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]>