zio.http.ZClient.Config
See theConfig companion object
final case class Config(ssl: Option[ClientSSLConfig], proxy: Option[Proxy], connectionPool: ConnectionPoolConfig, maxInitialLineLength: Int, maxHeaderSize: Int, requestDecompression: Decompression, localAddress: Option[InetSocketAddress], addUserAgentHeader: Boolean, webSocketConfig: WebSocketConfig, idleTimeout: Option[Duration], connectionTimeout: Option[Duration], bodyReadTimeout: Option[Duration] = ...)
Attributes
- Companion
- object
- Source
- ZClient.scala
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Attributes
- Source
- ZClient.scala
Configure the timeout for reading HTTP response bodies. This timeout is specifically for the time spent reading the body after headers are received. If not set, defaults to idleTimeout.
Configure the timeout for reading HTTP response bodies. This timeout is specifically for the time spent reading the body after headers are received. If not set, defaults to idleTimeout.
This is separate from:
- connectionTimeout: Time to establish TCP connection
- idleTimeout: Time channel can be idle without any data
Value parameters
- timeout
-
The duration to wait for body data
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Configure the client to use maxHeaderSize value when encode/decode headers.
Configure the client to use maxHeaderSize value when encode/decode headers.
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
Attributes
- Source
- ZClient.scala
In this article