AllowResponseGenerator

Helper for the generation of a org.http4s.Response which must contain an Allow header and may contain a body.

A 405 status MUST contain an Allow header, which distinguishes this from other ResponseGenerators.

Source:
ResponseGenerator.scala
class Any

Value members

Concrete methods

def apply(allow: Allow, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
def apply[A](allow: Allow, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]

Inherited methods