Http4sRoutingModule
class Http4sRoutingModule(randomService: RandomService, client: Client[Task], serverMetricsModule: MicrometerHttp4sServerMetricsModule[Task]) extends Http4sDsl[Task]
Type members
Inherited types
Value members
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
Inherited implicits
implicit def http4sHttpVersionNotSupportedSyntax(status: Status): HttpVersionNotSupportedOps[Task, Task]
- Inherited from:
- Responses
implicit def http4sNetworkAuthenticationRequiredSyntax(status: Status): NetworkAuthenticationRequiredOps[Task, Task]
- Inherited from:
- Responses
implicit def http4sNonAuthoritativeInformationSyntax(status: Status): NonAuthoritativeInformationOps[Task, Task]
- Inherited from:
- Responses
implicit def http4sProxyAuthenticationRequiredSyntax(status: Status): ProxyAuthenticationRequiredOps[Task, Task]
- Inherited from:
- Responses
implicit def http4sRequestHeaderFieldsTooLargeSyntax(status: Status): RequestHeaderFieldsTooLargeOps[Task, Task]
- Inherited from:
- Responses
implicit def http4sVariantAlsoNegotiatesSyntax(status: Status): VariantAlsoNegotiatesOps[Task, Task]
- Inherited from:
- Responses