Skip to main content
Module

x/cav/mod.ts>unpackBody

A server framework for Deno
Go to Latest
function unpackBody
Re-export
import { unpackBody } from "https://deno.land/x/cav@0.0.8/mod.ts";

Unpacks a Request or Response object whose body was packed with packBody(). Any packers used outside of the library defaults during packing need to be provided here as well, or an error may be thrown.

Parameters

optional
packers: Packers

Returns

Promise<unknown>