browser library
Browser client library for the Angel framework.
Classes
- Angel
- Represents an Angel server that we are querying.
- AngelAuthResult
- Represents the result of authentication with an Angel server.
- Rest
- Queries an Angel server via REST.
-
Service<
Id, Data> - Queries a service on an Angel server, with the same API.
-
ServiceList<
Id, Data> - A List that automatically updates itself whenever the referenced service fires an event.
Typedefs
-
AngelConfigurer
= FutureOr<
void> Function(Angel app) - A function that configures an Angel client in some way.
-
AngelDeserializer<
T> = T? Function(dynamic x) - A function that deserializes data received from the server.
Exceptions / Errors
- AngelHttpException
- Exception class that can be serialized to JSON and serialized to clients. Carries HTTP-specific metadata, like statusCode.