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

x/superdeno/test/deps.ts>Oak.ListenOptionsTls

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
interface Oak.ListenOptionsTls
implements [Deno.ListenTlsOptions]
import { type Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { ListenOptionsTls } = Oak;

Properties

optional
alpnProtocols: string[]

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
optional
signal: AbortSignal