Table of Contents

THttpServerResponseStream.Write Method

Writes Count bytes from Buffer to the response body, sending headers first if needed.

Syntax

Unit: Sparkle.HttpServer.Response

function THttpServerResponseStream.Write(const Buffer: ; Count: Integer): Integer; overload; override;

Parameters

<-> Parameter Type Description
const Buffer The source buffer holding the bytes to write.
Count Integer The number of bytes to write.

Returns

The number of bytes written through the response's body writer.

See also