Table of Contents

THttpRawResponseBodyWriter Class

Default IHttpResponseBodyWriter implementation that writes the response body through a THttpRawResponseStream.

Syntax

Unit: Sparkle.HttpServer.Response

THttpRawResponseBodyWriter = class(TInterfacedObject, IHttpResponseBodyWriter);

Constructors

Name Description
Create Creates the body writer and its underlying raw stream for the given response.

Methods

Name Description
Flush Flushes the underlying stream, sending any buffered body data.
Stream Returns the underlying raw response stream used to write body bytes.