setHeader method

  1. @override
void setHeader(
  1. ServerTransportStream response,
  2. String key,
  3. String? value
)
override

Implementation

@override
void setHeader(ServerTransportStream response, String key, String? value) {
  response.sendHeaders([Header.ascii(key, value!)]);
}