Skip to main content
Module

x/windmill/windmill-api/index.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.28.1/windmill-api/index.ts";

Helper class to generate a ResponseBody from binary data

Constructors

new
SelfDecodingBody(dataSource: Promise<Blob>)

Methods

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