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

x/windmill/windmill-api/http/http.ts>SelfDecodingBody

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class SelfDecodingBody
implements ResponseBody
import { SelfDecodingBody } from "https://deno.land/x/windmill@v1.27.0/windmill-api/http/http.ts";

Helper class to generate a ResponseBody from binary data

Constructors

new
SelfDecodingBody(dataSource: Promise<Blob>)

Methods

binary(): Promise<Blob>
text(): Promise<string>