ProxyAuthenticateResponseGenerator

org.http4s.dsl.impl.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 EntityResponseGenerators.

Attributes

Source
ResponseGenerator.scala
Graph
Supertypes
class Any

Members list

Value members

Concrete methods

def apply(authenticate: Proxy-Authenticate, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]

Attributes

Source
ResponseGenerator.scala
def apply[A](authenticate: Proxy-Authenticate, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]

Attributes

Source
ResponseGenerator.scala

Inherited methods

def status: Status

Attributes

Inherited from:
ResponseGenerator
Source
ResponseGenerator.scala