EmptyResponseGenerator
org.http4s.dsl.impl.EmptyResponseGenerator
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.
Attributes
- Example
-
val resp: F[Response] = Status.Continue()
- Source
- ResponseGenerator.scala
- Graph
-
- Supertypes
-
trait ResponseGeneratorclass Any
- Known subtypes
-
Members list
In this article