Packages

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addUserAgentHeader(addUserAgentHeader: Boolean): Config
  5. val addUserAgentHeader: Boolean
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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

  8. val bodyReadTimeout: Option[zio.Duration]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. val connectionPool: ConnectionPoolConfig
  11. def connectionTimeout(timeout: zio.Duration): Config
  12. val connectionTimeout: Option[zio.Duration]
  13. def disabledConnectionPool: Config
  14. def dynamicConnectionPool(minimum: Int, maximum: Int, ttl: zio.Duration): Config
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def fixedConnectionPool(size: Int): Config
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def idleTimeout(timeout: zio.Duration): Config
  19. val idleTimeout: Option[zio.Duration]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val localAddress: Option[InetSocketAddress]
  22. def maxHeaderSize(headerSize: Int): Config

    Configure the client to use maxHeaderSize value when encode/decode headers.

  23. val maxHeaderSize: Int
  24. def maxInitialLineLength(initialLineLength: Int): Config
  25. val maxInitialLineLength: Int
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noBodyReadTimeout: Config
  28. def noConnectionTimeout: Config
  29. def noIdleTimeout: Config
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def proxy(proxy: Proxy): Config
  34. val proxy: Option[Proxy]
  35. def requestDecompression(isStrict: Boolean): Config
  36. val requestDecompression: Decompression
  37. def ssl(ssl: ClientSSLConfig): Config
  38. val ssl: Option[ClientSSLConfig]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. def webSocketConfig(webSocketConfig: WebSocketConfig): Config
  44. val webSocketConfig: WebSocketConfig

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped