writeCharCode method

  1. @override
void writeCharCode(
  1. int charCode
)
override

Writes the character of charCode.

This method is equivalent to write(String.fromCharCode(charCode)).

This operation is non-blocking. See flush or done for how to get any errors generated by this call.

Implementation

@override
void writeCharCode(int charCode) {
  _originalClientRequest.writeCharCode(charCode);
  _requestBody.writeCharCode(charCode);
  logger.onRequestUpdate(_originalClientRequest,
      requestBody: _requestBody.toString());
}