ksoup icon indicating copy to clipboard operation
ksoup copied to clipboard

Limit Controls for Network Requests and File Reading

Open itboy87 opened this issue 1 year ago • 0 comments

Users should be able to set certain limits when making network requests or reading from files, such as:

•	Initial size: The starting size of data to be fetched or read.
•	Read increment size: The size of data to be read next, until the max limit is reached, the data source is empty, or a specific tag is found.
•	Max size: The maximum total data to be fetched or read.

This feature will enable partial data fetching, allowing, for example, the parsing of just the header of a web page without needing to fully download or read the entire page.

The functionality should be integrated into the SourceReader component, so it can work seamlessly with both file systems and network URLs.

itboy87 avatar Sep 09 '24 06:09 itboy87