MoonBit b2 client: This library can be used to communicate with Backblaze B2.
$ moon version --all
moon 0.1.20250513 (5aa200a 2025-05-13) ~/.moon/bin/moon
moonc v0.1.20250514+8798a70d6 ~/.moon/bin/moonc
moonrun 0.1.20250513 (5aa200a 2025-05-13) ~/.moon/bin/moonruntype Clientfn Client::consume_object(self : Client, filename : String, hash~ : HashFunc?, debug~ : Bool = ..) -> String!ClientErrorfn Client::get_download_authorization_url(self : Client, file_name_prefix : String, valid_duration_in_seconds~ : Int = .., debug~ : Bool = ..) -> String!ClientErrorfn Client::new(key_id : String, key_secret : String, bucket_id : String, bucket_name : String, debug~ : Bool = ..) -> Client!ClientErrorfn Client::stream_object(self : Client, filename : String, response_out : ResponseOutparam, hash~ : HashFunc?, debug~ : Bool = ..) -> String!ClientErrorfn consume_object(self : Client, filename : String, hash~ : HashFunc?, debug~ : Bool = ..) -> String!ClientErrorfn get_download_authorization_url(self : Client, file_name_prefix : String, valid_duration_in_seconds~ : Int = .., debug~ : Bool = ..) -> String!ClientErrorfn stream_object(self : Client, filename : String, response_out : ResponseOutparam, hash~ : HashFunc?, debug~ : Bool = ..) -> String!ClientErrorInstall
Download zipMoonBit b2 client: This library can be used to communicate with Backblaze B2.