Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.38.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>