ProxyAuthenticateResponseGenerator

Helper for the generation of a org.http4s.Response which must contain a Proxy-Authenticate header and may contain a body.

Helper for the generation of a org.http4s.Response which must contain a Proxy-Authenticate header and may contain a body.

A 407 status MUST contain a Proxy-Authenticate header, which distinguishes this from other EntityResponseGenerators.

class Any

Value members

Concrete methods

def apply(authenticate: `Proxy-Authenticate`, headers: ToRaw*)(F: Applicative[F]): F[Response[G]]
def apply[A](authenticate: `Proxy-Authenticate`, body: A, headers: ToRaw*)(F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]

Deprecated methods

@deprecated("Use ``apply(`Proxy-Authenticate`(challenge, challenges)`` instead", "0.18.0-M2")
def apply(challenge: Challenge, challenges: Challenge*)(F: Applicative[F]): F[Response[G]]
Deprecated

Inherited methods

def status: Status
Inherited from
ResponseGenerator