package
ahc
Type Members
-
-
-
-
case class
AhcWSClientConfig(wsClientConfig: WSClientConfig = WSClientConfig(), maxConnectionsPerHost: Int = 1, maxConnectionsTotal: Int = 1, maxConnectionLifetime: Duration = Duration.Inf, idleConnectionInPoolTimeout: Duration = 1.minute, maxNumberOfRedirects: Int = 5, maxRequestRetry: Int = 5, disableUrlEncoding: Boolean = false, keepAlive: Boolean = true) extends Product with Serializable
-
-
-
case class
StandaloneAhcWSRequest(client: StandaloneAhcWSClient, url: String, method: String = "GET", body: WSBody = EmptyBody, headers: Map[String, Seq[String]] = TreeMap()(CaseInsensitiveOrdered), queryString: Map[String, Seq[String]] = Map.empty, calc: Option[WSSignatureCalculator] = None, auth: Option[(String, String, WSAuthScheme)] = None, followRedirects: Option[Boolean] = None, requestTimeout: Option[Int] = None, virtualHost: Option[String] = None, proxyServer: Option[WSProxyServer] = None, disableUrlEncoding: Option[Boolean] = None, filters: Seq[WSRequestFilter] = Nil)(implicit materializer: Materializer) extends StandaloneWSRequest with AhcUtilities with Product with Serializable
-
Ahc client config.
The general WS client config.
The maximum number of connections to make per host. -1 means no maximum.
The maximum total number of connections. -1 means no maximum.
The maximum time that a connection should live for in the pool.
The time after which a connection that has been idle in the pool should be closed.
The maximum number of redirects.
The maximum number of times to retry a request if it fails.
Whether the raw URL should be used.
keeps thread pool active, replaces allowPoolingConnection and allowSslConnectionPool