status static method

void status(
  1. int code
)

Set the response status code

Implementation

static void status(int code) => response.status(code);