package impl
Type Members
-
trait
EmptyResponseGenerator extends ResponseGenerator
Helper for the generation of a org.http4s.Response which will not contain a body
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.
val resp: Task[Response] = Status.Continue()
Example: -
trait
EntityResponseGenerator extends ResponseGenerator
Helper for the generation of a org.http4s.Response which may contain a body
Helper for the generation of a org.http4s.Response which may contain a body
While it is possible to construct the org.http4s.Response manually, the EntityResponseGenerators offer shortcut syntax to make intention clear and concise.
val resp: Task[Response] = Ok("Hello world!")
Example: - trait LocationResponseGenerator extends ResponseGenerator
- trait ProxyAuthenticateResponseGenerator extends ResponseGenerator
- trait ResponseGenerator extends Any
- trait WwwAuthenticateResponseGenerator extends ResponseGenerator