html static method

void html(
  1. String html
)

Send an HTML response

Implementation

static void html(String html) {
  response.header('Content-Type', 'text/html');
  response.send(html);
}