SttpBackendOptions

case class SttpBackendOptions(connectionTimeout: FiniteDuration, proxy: Option[Proxy])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def connectionTimeout(ct: FiniteDuration): SttpBackendOptions

When the request is sent, if the connection can't be established during the given period of time, a failed effect will be returned, or an exception will be thrown

When the request is sent, if the connection can't be established during the given period of time, a failed effect will be returned, or an exception will be thrown

def httpProxy(host: String, port: Int): SttpBackendOptions
def httpProxy(host: String, port: Int, username: String, password: String): SttpBackendOptions
def socksProxy(host: String, port: Int): SttpBackendOptions
def socksProxy(host: String, port: Int, username: String, password: String): SttpBackendOptions

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product