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

---
```ts
getAllHttpServices(program, options?): [HttpService[], readonly Diagnostic[]]
```

Returns all the services defined.

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `options`? | [`RouteResolutionOptions`](../interfaces/RouteResolutionOptions.md) |

## Returns

[[`HttpService`](../interfaces/HttpService.md)[], readonly `Diagnostic`[]]
