All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itv.scalapact.shared.http.IScalaPactHttpClientBuilder.scala Maven / Gradle / Ivy

package com.itv.scalapact.shared.http

import scala.concurrent.duration.{Duration, DurationInt}

trait IScalaPactHttpClientBuilder {
  def build(clientTimeout: Duration, sslContextName: Option[String], maxTotalConnections: Int): IScalaPactHttpClient

  def buildWithDefaults(clientTimeout: Option[Duration], sslContextName: Option[String]): IScalaPactHttpClient =
    build(clientTimeout.getOrElse(2.seconds), sslContextName, 1)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy