api library

REST Api

Classes

ApiEndpoint
A RequestHandler with a RoutePattern to match against.
ApiRequest
ApiResponse
Defines a response to a api request.
ApiService
A Service that serves HTTP-Requests by calling the provided ApiEndpoints.
AuthProvider
AuthProvider handles the authorization of requests.
BasicAuthProvider
BasicAuthSession
BearerAuthSession
BearerTokenAuthProvider
ByteStreamResponse
DebugResponse
EmptyResponse
FileResponse
HeadResponse
JsonResponse
JWT
JWTAuthProvider
JWTSession
LogMiddleware
Middleware
RawResponse
RestCollectionEndpoint<T, Id>
Standardized REST collection endpoint.
Route
Represents a path which has been matched with a RoutePattern.
RoutePattern
Represents a route pattern against which request paths will be matched.
Session
TextResponse

Typedefs

MiddlewareBuilder = RequestHandler Function(RequestHandler)

Exceptions / Errors

ApiRequestException