import { Application } from "https://deno.land/x/oak_sessions@v4.1.3/deps.ts";
Start listening for requests, processing registered middleware on each
request. If the options .secure
is undefined or false
, the listening
will be over HTTP. If the options .secure
property is true
, a
.certFile
and a .keyFile
property need to be supplied and requests
will be processed over HTTPS.
Start listening for requests, processing registered middleware on each
request. If the options .secure
is undefined or false
, the listening
will be over HTTP. If the options .secure
property is true
, a
.certFile
and a .keyFile
property need to be supplied and requests
will be processed over HTTPS.
Omitting options will default to { port: 0 }
which allows the operating
system to select the port.
Parameters
optional
options: ListenOptions