Proxy

zio.http.Proxy
See theProxy companion object
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

Attributes

Companion
object
Source
Proxy.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def credentials(credentials: Credentials): Proxy

Attributes

Source
Proxy.scala
def headers(headers: Headers): Proxy

Attributes

Source
Proxy.scala
def url(url: URL): Proxy

Attributes

Source
Proxy.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product