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.

Source
AutoSlash.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AutoSlash
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[F[_], G[_], B](http: Kleisli[F, Request[G], B])(implicit F: MonoidK[F], G: Functor[G]): Kleisli[F, Request[G], B]