Skip to main content
class Deno.HttpClient

A custom HttpClient for use with fetch.

const caCert = await Deno.readTextFile("./ca.pem");
const client = Deno.createHttpClient({ caCerts: [ caCert ] });
const req = await fetch("https://myserver.com", { client });

Properties

rid: number

Methods

close(): void