SttpBackendOptions

sttp.client3.SttpBackendOptions
See theSttpBackendOptions companion object
case class SttpBackendOptions(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): 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

Attributes

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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product