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[zio.Duration], connectionTimeout: Option[zio.Duration], bodyReadTimeout: Option[zio.Duration] = None) extends Product with Serializable
- Self Type
- Config
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Config
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Config(ssl: Option[ClientSSLConfig], proxy: Option[Proxy], connectionPool: ConnectionPoolConfig, maxInitialLineLength: Int, maxHeaderSize: Int, requestDecompression: Decompression, localAddress: Option[InetSocketAddress], addUserAgentHeader: Boolean, webSocketConfig: WebSocketConfig, idleTimeout: Option[zio.Duration], connectionTimeout: Option[zio.Duration], bodyReadTimeout: Option[zio.Duration] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addUserAgentHeader(addUserAgentHeader: Boolean): Config
- val addUserAgentHeader: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bodyReadTimeout(timeout: zio.Duration): Config
Configure the timeout for reading HTTP response bodies.
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
- timeout
The duration to wait for body data
- val bodyReadTimeout: Option[zio.Duration]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val connectionPool: ConnectionPoolConfig
- def connectionTimeout(timeout: zio.Duration): Config
- val connectionTimeout: Option[zio.Duration]
- def disabledConnectionPool: Config
- def dynamicConnectionPool(minimum: Int, maximum: Int, ttl: zio.Duration): Config
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fixedConnectionPool(size: Int): Config
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def idleTimeout(timeout: zio.Duration): Config
- val idleTimeout: Option[zio.Duration]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val localAddress: Option[InetSocketAddress]
- def maxHeaderSize(headerSize: Int): Config
Configure the client to use
maxHeaderSizevalue when encode/decode headers. - val maxHeaderSize: Int
- def maxInitialLineLength(initialLineLength: Int): Config
- val maxInitialLineLength: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noBodyReadTimeout: Config
- def noConnectionTimeout: Config
- def noIdleTimeout: Config
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def proxy(proxy: Proxy): Config
- val proxy: Option[Proxy]
- def requestDecompression(isStrict: Boolean): Config
- val requestDecompression: Decompression
- def ssl(ssl: ClientSSLConfig): Config
- val ssl: Option[ClientSSLConfig]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def webSocketConfig(webSocketConfig: WebSocketConfig): Config
- val webSocketConfig: WebSocketConfig