Endpoint

final case class Endpoint[A](method: Method, params: ParameterList[A])

Description of an Http endpoint containing a Method and a ParameterList

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def /(name: String): Endpoint[A]

Appends a string literal to the endpoint

Appends a string literal to the endpoint

def /[B, C](other: Parameter[B])(implicit ev: Aux[A, B, C]): Endpoint[C]

Appends the parameter to the endpoint

Appends the parameter to the endpoint

def to[B](f: ParameterizedRequest[A] => B)(implicit ctor: CanConstruct[A, B]): HttpApp[ROut, EOut]

Creates an HttpApp from a Request to Response function

Creates an HttpApp from a Request to Response function

Inherited methods

Inherited from:
Product