http/response/dox_response library
Classes
Functions
-
back(
DoxRequest req, {String fallback = '/'}) → DoxResponse -
A 302 redirect to the page the request came from (the
Refererheader), or tofallbackwhen there is none. -
redirect(
String url, {int status = HttpStatus.found}) → DoxResponse -
A redirect to
url. 302 by default. -
response(
[dynamic content]) → DoxResponse -
content can be anything
String, int, Map, json serializable object,
Stream<List<int>>, File