---
jsApi: true
title: "[F] getServers"

---
```ts
getServers(program, type): HttpServer[] | undefined
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `type` | `Namespace` |

## Returns

[`HttpServer`](Interface.HttpServer.md)[] \| `undefined`
