Skip to content

api: DownloadBinaryWithToken and UploadBinaryWithToken

Boris requested to merge stream-token-io into master

These two methods are more efficient bandwidth wise, because they avoid encoding binary data into JSON (as base64) resulting in 33% size overhead and extra computation.

Also updated api2 to include the fix of streaming mode.

Summary by CodeRabbit

  • New Features
    • Introduced methods for enhanced binary data download and upload, including security token support.
  • Refactor
    • Improved modularity in Merkle proof verification with new reader-based approach.
    • Updated client routing mechanism for better flexibility.
  • Tests
    • Added tests for the new binary data download and upload functionalities.
  • Bug Fixes
    • Implemented a global error handling mechanism for Merkle proof verification errors.
Edited by CodeRabbit

Merge request reports