EndpointSpec

zio.http.api.EndpointSpec$
See theEndpointSpec companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def delete[Input](route: RouteCodec[Input]): EndpointSpec[Input, Unit]

Constructs an API for a DELETE endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Constructs an API for a DELETE endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Attributes

def get[Input](route: RouteCodec[Input]): EndpointSpec[Input, Unit]

Constructs an API for a GET endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Constructs an API for a GET endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Attributes

def post[Input](route: RouteCodec[Input]): EndpointSpec[Input, Unit]

Constructs an API for a POST endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Constructs an API for a POST endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Attributes

def put[Input](route: RouteCodec[Input]): EndpointSpec[Input, Unit]

Constructs an API for a PUT endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Constructs an API for a PUT endpoint, given the specified input. It is not necessary to specify the full input to the endpoint upfront, as the API#in method can be used to incrementally append additional input to the definition of the API.

Attributes