adapter library

For authors of edge adapters. Application code wants aim_edge.dart.

Classes

EdgeEnv
The environment a request was served in: vars, secrets, and — where the runtime has them — resource handles.
EdgeRaw
What an adapter attaches to Request.raw so the shared pipeline and the platform extensions can reach the runtime's own objects.

Functions

handleEdgeFetch<E extends Variables>(Aim<E> app, EdgeRaw raw) → Future<Response>
Runs app against raw and produces a web.Response.
toAimRequest(EdgeRaw raw) → Future<Request>
Converts an EdgeRaw into an Aim Request.
toWebResponse(Response response) → Response
Converts an Aim Response into a web.Response.