Packages

object Router

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

Value Members

  1. def apply[F[_]](mappings: (String, HttpRoutes[F])*)(implicit arg0: Sync[F]): HttpRoutes[F]

    Defines an HttpRoutes based on list of mappings.

    Defines an HttpRoutes based on list of mappings.

    See also

    define

  2. def define[F[_]](mappings: (String, HttpRoutes[F])*)(default: HttpRoutes[F])(implicit arg0: Sync[F]): HttpRoutes[F]

    Defines an HttpRoutes based on list of mappings and a default Service to be used when none in the list match incomming requests.

    Defines an HttpRoutes based on list of mappings and a default Service to be used when none in the list match incomming requests.

    The mappings are processed in descending order (longest first) of prefix length.