EndpointSyntax

final implicit class EndpointSyntax[A, B](endpoint: Endpoint[A, B])

Extension methods for Endpoint.

class Object
trait Matchable
class Any

Value members

Concrete methods

Map the documentation of this endpoint, see mapEndpointDocs.

Map the documentation of this endpoint, see mapEndpointDocs.

def mapRequest[C](func: Request[A] => Request[C]): Endpoint[C, B]

Map the inner request of this endpoint, see mapEndpointRequest.

Map the inner request of this endpoint, see mapEndpointRequest.

def mapResponse[C](func: Response[B] => Response[C]): Endpoint[A, C]

Map the inner response of this endpoint, see mapEndpointResponse.

Map the inner response of this endpoint, see mapEndpointResponse.