router/response library

Classes

Headers
Models HTTP Headers that can be managed by the framework.
Jsonable
Response
Models an HTTP Response Steward processes this response and writes out the necessary data to the live HTTP response.

Functions

writeResponse(HttpRequest request, Future<Response> resp) Future<void>
writeResponse takes in an HTTP request and a steward response, and writes the contents of the steward response to the HTTP response. TODO: this should only be called by Steward