setStatusCode method

  1. @override
void setStatusCode(
  1. ServerTransportStream response,
  2. int value
)
override

Implementation

@override
void setStatusCode(ServerTransportStream response, int value) {
  response.sendHeaders([Header.ascii(':status', value.toString())]);
}