Lifts a partial function to an AuthedService
.
Lifts a partial function to an AuthedService
. Responds with
org.http4s.Response.fallthrough, which generates a 404, for any request
where pf
is not defined.
Oops, should be of type AuthedService[T]
.
Oops, should be of type AuthedService[T]
. Use AuthedService.lift(_ => Response.fallthrough)
instead.
Lifts a total function to an HttpService
.
Lifts a total function to an HttpService
. The function is expected to
handle all requests it is given. If f
is a PartialFunction
, use
apply
instead.