Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.28.1/cli/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