Package-level declarations

Endpoints represent URIs that provides methods for operating on specific resources.

See documentation.

Types

Link copied to clipboard
abstract class AbstractEndpoint(val uri: URI, val httpClient: OkHttpClient, val serializers: List<Serializer>, val errorHandler: ErrorHandler, val linkExtractor: LinkExtractor) : Endpoint

Base class for building endpoints, i.e., remote HTTP resources.

Link copied to clipboard
interface CachingEndpoint

Endpoint that caches the last response.

Link copied to clipboard
interface Endpoint

Represents an endpoint, i.e., a remote HTTP resource.

Link copied to clipboard

Represents the top-level URI of an API. Derive from this open class and add your own set of child Endpoints as properties.