# Type TGetStreamEvent

## Declaration

TGetStreamEvent = procedure(Sender: TObject; const SRC: string;

var Stream: TMemoryStream) of Object;

## Description

The TGetStreamEvent type is the type for the OnhtStreamRequest event. This event allows a handler to respond with an HTML document in stream form when a request is made for a new document. The parameters are:

SRCA string identifying the document requested.

StreamThe stream returned by the event handler containing the HTML text.

See also:

OnhtStreamRequest Event