Endpoint

endpoints4s.sttp.client.EndpointsWithCustomErrors.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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait A => R[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Inherited methods

def andThen[A](g: (R[B]) => A): A => A

Attributes

Inherited from:
Function1
def compose[A](g: A => A): A => R[B]

Attributes

Inherited from:
Function1

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1