aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-15 06:29:46 +0000
committerFuwn <[email protected]>2022-05-15 06:29:46 +0000
commit7ed3e460fe8989098f82bf8ef58ed1f43f36703a (patch)
tree24212ea56f9a3aa2ab806d6754b4adf4919a6e68
parentrefactor(laurali): refer to callbacks as hooks (diff)
downloadlaurali-7ed3e460fe8989098f82bf8ef58ed1f43f36703a.tar.xz
laurali-7ed3e460fe8989098f82bf8ef58ed1f43f36703a.zip
docs(server): documentation ServerConfiguration
-rw-r--r--laurali/server.ts4
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 */