AutoSlash

object AutoSlash

Removes a trailing slash from Request path

If a route exists with a file style Uri, eg "/foo", this middleware will cause Requests with uri = "/foo" and uri = "/foo/" to match the route.

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_], G[_], B](http: Kleisli[F, Request[G], B])(implicit F: MonoidK[F]): Kleisli[F, Request[G], B]
def httpRoutes[F[_]](httpRoutes: HttpRoutes[F])(implicit evidence$1: Monad[F]): HttpRoutes[F]