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

Attributes

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product