BackendOptions

sttp.client4.BackendOptions
See theBackendOptions companion object
case class BackendOptions(connectionTimeout: FiniteDuration, proxy: Option[Proxy])

Attributes

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

Members list

Value members

Concrete methods

def connectionTimeout(ct: FiniteDuration): BackendOptions

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

Attributes

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product