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

---
```ts
createServer(host): Server
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `host` | [`ServerHost`](../interfaces/ServerHost.md) |

## Returns

[`Server`](../interfaces/Server.md)
