System.Net.URLClient.TAsyncReadStream

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TMemoryStreamSystem.Classes.TCustomMemoryStreamSystem.Classes.TStreamSystem.TObjectTAsyncReadStream

Delphi

TAsyncReadStream = class(TMemoryStream, IAsyncResult)

C++

class PASCALIMPLEMENTATION TAsyncReadStream : public System::Classes::TMemoryStream

Properties

Type Visibility Source Unit Parent
class public
System.Net.URLClient.pas
System.Net.URLClient.hpp
System.Net.URLClient System.Net.URLClient

Description

Class that implements a stream that is populated asynchronously.

This class is used to read a stream asynchronously, where the results are sent as a parameter of a callback procedure passed to its constructor.

TAsyncReadStream only supports reading operations. Any writing operations outside of APopulator raise an exception. Any reading operations are blocked until APopulator completes.

See Also