Skip to main content
Module

x/cav/serial.ts>deserializeBody

A server framework for Deno
Go to Latest
function deserializeBody
import { deserializeBody } from "https://deno.land/x/cav@0.0.21/serial.ts";

Deserializes a Request or Response object whose body was serialized with serializeBody(). Any Serializers used outside of the library defaults during serialization need to be provided here as well, or an error may be thrown.

Parameters

optional
serializers: Serializers

Returns

Promise<unknown>