An easily-extensible web server framework in Dart.

Typedefs

AngelConfigurer(Angel app) → Future

A function that configures an Angel server in some way.

AngelErrorHandler(AngelHttpException err, RequestContext req, ResponseContext res) → Future

Handles an AngelHttpException.

HookedServiceEventListener(HookedServiceEvent event) → Future

Triggered on a hooked service event.

RawRequestHandler(HttpRequest request) → Future

A function that handles an HttpRequest.

RequestHandler(RequestContext req, ResponseContext res) → Future

A function that receives an incoming RequestContext and responds to it.

RequestMiddleware(RequestContext req, ResponseContext res) → Future<bool>

A function that intercepts a request and determines whether handling of it should continue.

RouteAssigner(Pattern path, handler, {List middleware}) Route

ServerGenerator(InternetAddress address, int port) → Future<HttpServer>

A function that binds an Angel server to an Internet address and port.

ViewGenerator(String path, [Map data]) → Future<String>

A function that asynchronously generates a view from the given path and data.

Classes

Angel

A powerful real-time/REST/MVC server class.

Extensible

Supports accessing members of a Map as though they were actual members.

Hooked

Annotation to set a service up to release hooks on every action.

HookedService

Wraps another service in a service that broadcasts events on actions.

HookedServiceEvent

Fired when a hooked service is invoked.

HookedServiceEventDispatcher

Can be listened to, but events may be canceled.

MemoryService

An in-memory Service.

Middleware

Annotation to map middleware onto a handler.

Providers

Indicates how the service was accessed.

RequestContext

A convenience wrapper around an incoming HTTP request.

ResponseContext

A convenience wrapper around an outgoing HTTP request.

Routable

A routable server that can handle dynamic requests.

Route

Represents an endpoint open for connection via the Internet.

Service

A front-facing interface that can present data to and operate on data on behalf of the user.

Exceptions / Errors

AngelHttpException

Basically the same as feathers-errors.