trait EmptyResponseGenerator[F[_], G[_]] extends ResponseGenerator
Helper for the generation of a org.http4s.Response which will not contain a body
While it is possible to for the org.http4s.Response manually, the EntityResponseGenerators offer shortcut syntax to make intention clear and concise.
- Source
- ResponseGenerator.scala
val resp: F[Response] = Status.Continue()
Example:
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- EmptyResponseGenerator
- ResponseGenerator
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
status: Status
- Definition Classes
- ResponseGenerator
Concrete Value Members
- def apply(headers: Header*)(implicit F: Applicative[F]): F[Response[G]]