Segment

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

Attributes

Companion
object
Source
ContextRouter.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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

Attributes

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

Attributes

Source
ContextRouter.scala

Concrete fields

val run: (A, Segment) => OptionT[F, B]

Attributes

Source
ContextRouter.scala