sendChunked method

void sendChunked(
  1. String data
)

Sends a chunked response with manual control over chunks.

Implementation

void sendChunked(String data) {
  if (_sent) return;

  _response.add(_safeUtf8Encode(data));
  // Don't close - allow more chunks
}