api library

REST Api

Classes

ApiEndpoint
A RequestHandler with a RoutePattern to match against.
ApiRequest
ApiResource<TData>
ApiResponse
Defines a response to a api request.
ApiService
AuthProvider
AuthProvider handles the authorization of requests.
BasicAuthProvider
BasicAuthSession
BearerAuthSession
BearerTokenAuthProvider
ByteStreamResponse
DebugResponse
EmptyResponse
FileResponse
JsonResponse
JWT
JWTAuthProvider
JWTSession
ListApiResource<TData, TId>
LogMiddleware
Middleware
PushStreamResponse
RawResponse
Route
Represents a path which has been matched with a RoutePattern.
RoutePattern
Represents a route pattern against which request paths will be matched.
Session
SingleObjectApiResource<TData>
StaticListApiResource<TData>
TextResponse

Functions

parseMethod(String source) ApiRequestMethod

Typedefs

MiddlewareBuilder = RequestHandler Function(RequestHandler)

Exceptions / Errors

ApiRequestException