Skip to main content

%Net.ChunkedReader

abstract class %Net.ChunkedReader extends %Library.RegisteredObject

%Net.ChunkedReader provides an interface so that its subclasses may be used as a %Net.HttpRequest ResponseChunkReader. To process chunks of HTTP response data as they are received, create a subclass of %Net.ChunkedReader and implement the ReadChunk() method. Then, create an instance of this subclass and assign it to the ResponseChunkReader property of %Net.HttpRequest.

Method Inventory

Methods

method ReadChunk(chunk As %String)
Abstract method to be overridden by subclasses to process chunks of data from an HTTP response body. This method should throw an exception if an error occurs.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab