Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/masx200_deno_http_middleware/body/bodyToText.ts>bodyToText

Deno 原生 HTTP 服务器的中间件框架
Go to Latest
function bodyToText
import { bodyToText } from "https://deno.land/x/masx200_deno_http_middleware@2.2.2/body/bodyToText.ts";

Parameters

optional
body: BodyInit | null
optional
headers: HeadersInit

Returns

Promise<string>