writeHead method

void writeHead(
  1. num statusCode, [
  2. String statusMessage,
  3. dynamic headers
])

Implementation

external void writeHead(num statusCode, [String statusMessage, headers]);