From 231d4ec253390686dd0f169f5e9254b06d398182 Mon Sep 17 00:00:00 2001 From: Sumant Awasthi Date: Mon, 24 Jan 2022 10:17:43 +0530 Subject: [PATCH] added one missing configuration --- docs/website/docs/v1.x/dsl/server/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/website/docs/v1.x/dsl/server/index.md b/docs/website/docs/v1.x/dsl/server/index.md index 912f5ad8d1..6830874b4a 100644 --- a/docs/website/docs/v1.x/dsl/server/index.md +++ b/docs/website/docs/v1.x/dsl/server/index.md @@ -111,7 +111,8 @@ object HelloWorldAdvanced extends App { | **Configuration** | **Purpose and usage** | | ----------- | ----------- | -| `Server.app(httpApp)` | Mount routes. Refer to complete example above | +| `Server.app(httpApp)` | Mount routes. Refer to complete example above | +| `Server.maxRequestSize(8 * 1024)` | handle max request size of 8 KB (default 4 KB) | | `Server.port(portNum)` or `Server.bind(portNum)` | Bind server to the port, refer to examples above | | `Server.ssl(sslOptions)` | Creates a new server with ssl options. [HttpsHelloWorld](https://github.com/dream11/zio-http/blob/main/example/src/main/scala/example/HttpsHelloWorld.scala) | | `Server.acceptContinue` | Sends a [100 CONTINUE](https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3) |