x/oak/mod.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
interface ListenOptionsTls
implements [Deno.ListenTlsOptions]
import { type ListenOptionsTls } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/mod.ts?s=ListenOptionsTls";

Properties

optional
alpnProtocols: string[]
[src]

Application-Layer Protocol Negotiation (ALPN) protocols to announce to the client. If not specified, no ALPN extension will be included in the TLS handshake.

NOTE this is part of the native HTTP server in Deno 1.9 or later, which requires the --unstable flag to be available.

secure: true[src]
optional
signal: AbortSignal
[src]

An optional abort signal which can be used to close the listener.