Skip to main content
Latest
class SelfDecodingBody
implements ResponseBody
import { SelfDecodingBody } from "https://deno.land/x/periskope_maytapi_deno@v1.4.0/index.ts";

Helper class to generate a ResponseBody from binary data

Constructors

new
SelfDecodingBody(dataSource: Promise<Blob>)

Methods

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