> This page is for Server SDKs.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# getApp

> Get the Hono application for mounting or testing.

Get the configured [Hono](https://hono.dev) application, for mounting in another app or for testing.

## Returns

`Hono` -- the configured Hono app.

## Example

```typescript
import { WebService } from '@signalwire/sdk';

const web = new WebService({
  directories: { '/audio': './public/audio' },
  basicAuth: ['audio', process.env['AUDIO_PASSWORD'] ?? ''],
});

const app = web.getApp();
const res = await app.request('/health');
console.log(res.status);
```