diff options
| author | Fuwn <[email protected]> | 2022-05-15 06:29:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-15 06:29:46 +0000 |
| commit | 7ed3e460fe8989098f82bf8ef58ed1f43f36703a (patch) | |
| tree | 24212ea56f9a3aa2ab806d6754b4adf4919a6e68 | |
| parent | refactor(laurali): refer to callbacks as hooks (diff) | |
| download | laurali-7ed3e460fe8989098f82bf8ef58ed1f43f36703a.tar.xz laurali-7ed3e460fe8989098f82bf8ef58ed1f43f36703a.zip | |
docs(server): documentation ServerConfiguration
| -rw-r--r-- | laurali/server.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/laurali/server.ts b/laurali/server.ts index 71f0fd7..af656af 100644 --- a/laurali/server.ts +++ b/laurali/server.ts @@ -18,10 +18,12 @@ import { Hook } from "./hooks.ts"; +/** Configuration options of a `Server` */ export interface ServerConfiguration { + /** The port a `Server` will listen on */ port?: number; + /** The hostname a `Server` will identify as */ hostname?: string; - logger?: boolean; } /** The base Laurali server to be extended upon */ |