Routes
class Routes[F[_]](energyDiffRepository: EnergyDiffRepository[F])(implicit evidence$1: Concurrent[F]) extends Http4sDsl[F]
trait Http4sDsl[F]
trait Http4sDsl2[F, F]
trait Responses[F, F]
trait Statuses
trait RequestDsl
trait Auth
trait Methods
class Object
trait Matchable
class Any
Type members
Value members
Concrete fields
Inherited fields
Alias for ->
.
Alias for ->
.
Note: Due to infix operation precedence, →
has a lower priority than /
. So you have to use parentheses in
pattern matching when using this operator.
For example:
(request.method, Path(request.path)) match {
case Method.GET → (Root / "test.json") => ...
- Inherited from:
- Http4sDsl2
Implicits
Implicits
Inherited implicits
implicit def http4sNetworkAuthenticationRequiredSyntax(status: Status): NetworkAuthenticationRequiredOps[F, F]
- Inherited from:
- Responses
implicit def http4sNonAuthoritativeInformationSyntax(status: Status): NonAuthoritativeInformationOps[F, F]
- Inherited from:
- Responses
implicit def http4sProxyAuthenticationRequiredSyntax(status: Status): ProxyAuthenticationRequiredOps[F, F]
- Inherited from:
- Responses
implicit def http4sRequestHeaderFieldsTooLargeSyntax(status: Status): RequestHeaderFieldsTooLargeOps[F, F]
- Inherited from:
- Responses