ClientConfig

zio.http.ClientConfig
See theClientConfig companion object
case class ClientConfig(socketApp: Option[SocketApp[Any]], ssl: Option[ClientSSLConfig], proxy: Option[Proxy], channelType: ChannelType, nThreads: Int, useAggregator: Boolean, connectionPool: ConnectionPoolConfig, maxHeaderSize: Int, requestDecompression: Decompression, localAddress: Option[InetSocketAddress]) extends Config

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Config
trait Config
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def maxHeaderSize(headerSize: Int): ClientConfig

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

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

Attributes

def maxThreads(nThreads: Int): ClientConfig
def proxy(proxy: Proxy): ClientConfig
def socketApp(socketApp: SocketApp[Any]): ClientConfig
def useObjectAggregator(objectAggregator: Boolean): ClientConfig
def withDynamicConnectionPool(minimum: Int, maximum: Int, ttl: Duration): ClientConfig

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product