Endpoint

case class Endpoint[A, B](request: () => A, response: Response[B]) extends A => R[B]

A function that, given an A, eventually attempts to decode the B response.

trait Serializable
trait Product
trait Equals
trait A => R[B]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(a: A): R[B]

Inherited methods

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