sendNotFound method
Implementation
Future<void> sendNotFound() async {
res?.statusCode = HttpStatus.notFound;
res?.headers.contentType = ContentType.html;
res?.write('<br><center><h2>Not Found</h2></center>');
await res?.close();
}
Future<void> sendNotFound() async {
res?.statusCode = HttpStatus.notFound;
res?.headers.contentType = ContentType.html;
res?.write('<br><center><h2>Not Found</h2></center>');
await res?.close();
}