Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.ServeTlsOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.ServeTlsOptions
implements ServeOptions
import { type Deno } from "https://deno.land/x/deno@v1.32.3/cli/tsc/dts/lib.deno.unstable.d.ts";
const { ServeTlsOptions } = Deno;

UNSTABLE: New API, yet to be vetted.

Additional options which are used when opening a TLS (HTTPS) server.

Properties

cert: string

Server private key in PEM format

key: string

Cert chain in PEM format