Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dectyl/lib/util.ts>parseBodyInit

Prototype library for testing Deno Deploy scripts using the Deno CLI
Latest
function parseBodyInit
import { parseBodyInit } from "https://deno.land/x/dectyl@0.10.7/lib/util.ts";

Parameters

input: string | Request
requestInit: RequestInit

Returns

[FetchMessageBody, ReadableStream<Uint8Array> | undefined, [string, string][] | undefined]