Proxy

final case class Proxy(url: URL, credentials: Option[Credentials], headers: Headers)

Represents the connection to the forward proxy before running the request

Value parameters:
credentials:

credentials for the proxy server. Encodes credentials with basic auth and put under the 'proxy-authorization' header

headers:

headers for the request to the proxy server

url:

url address of the proxy server

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def withCredentials(credentials: Credentials): Proxy
def withHeaders(headers: Headers): Proxy
def withUrl(url: URL): Proxy

Inherited methods

Inherited from:
Product