Skip to content

Commit

Permalink
Documentation of Server Configuration (#2731)
Browse files Browse the repository at this point in the history
* initial work.

* add server configuration example.

* enabling response compression.

* add response compression config.

* fmt.

* try to fix broken server_config link.

* another try.

* ssl configuration.

* serving on any open port.

* remove server config.

* enabling streaming of request bodies.

* graceful shutdown.

* fmt.

* idle timeout configuration.

* keep-alive configuration.

* websocket configuration.

* configuring host and port.

* accept continue.

* request decompression.

* logging on fatal errors.

* netty configurations.
  • Loading branch information
khajavi authored Apr 5, 2024
1 parent 5fd241f commit a9a0f28
Show file tree
Hide file tree
Showing 6 changed files with 684 additions and 16 deletions.
7 changes: 6 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ lazy val zioHttpExample = (project in file("zio-http-example"))
.settings(publishSetting(false))
.settings(runSettings(Debug.Main))
.settings(libraryDependencies ++= Seq(`jwt-core`))
.settings(
libraryDependencies += "dev.zio" %% "zio-config" % "4.0.1",
libraryDependencies += "dev.zio" %% "zio-config-typesafe" % "4.0.1",
)
.dependsOn(zioHttpJVM, zioHttpCli)

lazy val zioHttpGen = (project in file("zio-http-gen"))
Expand Down Expand Up @@ -313,7 +317,8 @@ lazy val docs = project
ciWorkflowName := "Continuous Integration",
libraryDependencies ++= Seq(
`jwt-core`,
"dev.zio" %% "zio-test" % ZioVersion,
"dev.zio" %% "zio-test" % ZioVersion,
"dev.zio" %% "zio-config" % "4.0.1",
),
publish / skip := true,
)
Expand Down
Loading

0 comments on commit a9a0f28

Please sign in to comment.