Future<ResponseContext> from(HttpResponse response, Angel app)

Magically transforms an HttpResponse object into a ResponseContext.

Source

static Future<ResponseContext> from
    (HttpResponse response, Angel app) async
{
  ResponseContext context = new ResponseContext(response);
  context.app = app;
  return context;
}