ProxyAuthenticateResponseGenerator
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 EntityResponseGenerator
s.
- Source:
- ResponseGenerator.scala
trait ResponseGenerator
class Any
Value members
Concrete methods
def apply(authenticate: Proxy-Authenticate, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
- Source:
- ResponseGenerator.scala
def apply[A](authenticate: Proxy-Authenticate, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
- Source:
- ResponseGenerator.scala