[F] getServers
function getServers(program, type): HttpServer[] | undefined;Reads servers declared directly on a namespace, in decorator application order.
Returns undefined when none are declared; does not search parent namespaces.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
type | Namespace |
Returns
Section titled “Returns”HttpServer[] | undefined