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
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
def headers(headers: Headers): Proxy
def url(url: URL): Proxy

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product