setContentLength method

  1. @override
void setContentLength(
  1. ServerTransportStream response,
  2. int length
)
override

Implementation

@override
void setContentLength(ServerTransportStream response, int length) {
  setHeader(response, 'content-length', length.toString());
}