Skip to main content
Module

std/http/server.ts>ServeTlsInit

Deno standard library
Go to Latest
interface ServeTlsInit
implements ServeInit
Deprecated
Deprecated

(will be removed after 1.0.0) Use Deno.ServeTlsOptions instead.

import { type ServeTlsInit } from "https://deno.land/std@0.221.0/http/server.ts";

Initialization parameters for serveTls.

Properties

optional
key: string

Server private key in PEM format

optional
cert: string

Cert chain in PEM format

optional
keyFile: string

The path to the file containing the TLS private key.

optional
certFile: string

The path to the file containing the TLS certificate