Skip to content

Commit

Permalink
added one missing configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumant Awasthi authored and Sumant Awasthi committed Jan 24, 2022
1 parent cbbd3c5 commit 231d4ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/website/docs/v1.x/dsl/server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down

1 comment on commit 231d4ec

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Performance Benchmark:

Concurrency: 256
Requests/sec: 901601.53

Please sign in to comment.