Function UploadResultReader.read
Stream one complete diffResult document.
bool read(Handler)(
ByteSource source,
ref Handler handler,
out UploadResultReadSummary summary,
out UploadResultReadStatus status,
UploadResultReadOptions options = UploadResultReadOptions .init
) @trusted;
Parameters
| Name | Description |
|---|---|
| source | Byte source containing one XML diffResult document. |
| handler | Consumer receiving each UploadResultEntry through handler.entry(entry), in source order. |
| summary | Receives counts and root metadata on successful completion. |
| status | Receives explicit transport/XML/semantic failure details. |
| options | Optional parser/resource limits; zero fields select defaults. |
Returns
true only after the complete document has been validated and consumed.
Notes
Entries delivered before a later streaming failure are not rolled back. Use readUploadResult or readUploadResultDocument for transactional materialization.
Safety
The trusted boundary contains dxml's parser ranges inside this synchronous call. No dxml entity/range escapes; callbacks receive only value-type UploadResultEntry values.