Segment

org.http4s.server.Router$.Segment
See theSegment companion object
final case class Segment[F[_], A](run: Segment => OptionT[F, A])

Attributes

Companion:
object
Source:
Router.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def ->(routes: ContextRoutes[A, F]): Routable[F]

Attributes

Source:
Router.scala
def apply(routes: ContextRoutes[A, F])(implicit F: Monad[F]): HttpRoutes[F]

Attributes

Source:
Router.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product