sendStatus method
Set the response status code and send a message containing the associated status string.
Implementation
Future sendStatus(int statusCode) async {
status(statusCode);
await send('$statusCode ${getStatusMessage(statusCode)}');
}