std/http/mod.ts

Deno standard library
Go to Latest
function listenAndServeTls
Deprecated
import { listenAndServeTls } from "https://deno.land/std@0.114.0/http/mod.ts?s=listenAndServeTls";

Parameters

addr: string[src]

The address to listen on.

certFile: string[src]

The path to the file containing the TLS certificate.

keyFile: string[src]

The path to the file containing the TLS private key.

handler: Handler[src]

The handler for individual HTTP requests.

optional
options: ServeInit
[src]

Optional serve options.

Returns

Promise<void>[src]