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

x/oak/body.ts>Body#text

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Body.prototype.text
import { Body } from "https://deno.land/x/oak@v17.1.2/body.ts";

Reads the body to the end resolving with a string.

Returns

Promise<string>