Skip to main content
Module

std/node/http.ts>Server#listen

Deno standard library
Go to Latest
method Server.prototype.listen
import { Server } from "https://deno.land/std@0.114.0/node/http.ts";

Parameters

port: number
optional
host: string
optional
cb: CallableFunction