Endpoint

abstract class Endpoint[A, B](val request: Request[A], val response: Response[B]) extends A => Result[B]

A function that takes the information needed to build a request and returns a task yielding the information carried by the response.

trait A => Result[B]
class Object
trait Matchable
class Any

Value members

Concrete methods

def href(a: A): String

Inherited methods

def andThen[A](g: Result[B] => A): A => A
Inherited from:
Function1
def apply(v1: A): Result[B]
Inherited from:
Function1
def compose[A](g: A => A): A => Result[B]
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields