Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>Request#text

Determine XDG Base Directory paths (OS/platform portable)
Latest
method Request.prototype.text
import { Request } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";

Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text).

Returns

Promise<string>