Config

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])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def addUserAgentHeader(addUserAgentHeader: Boolean): Config
def dynamicConnectionPool(minimum: Int, maximum: Int, ttl: Duration): Config
def fixedConnectionPool(size: Int): Config
def idleTimeout(timeout: Duration): Config
def maxHeaderSize(headerSize: Int): Config

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

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

Attributes

def maxInitialLineLength(initialLineLength: Int): Config
def proxy(proxy: Proxy): Config
def requestDecompression(isStrict: Boolean): Config
def webSocketConfig(webSocketConfig: WebSocketConfig): Config

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product