Skip to main content

http

5 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("http", [
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("http", [
// endpoint of this backend
// ("endpoint".to_string(), "...".to_string()),

// username of this backend
// ("username".to_string(), "...".to_string()),

// password of this backend
// ("password".to_string(), "...".to_string()),

// token of this backend
// ("token".to_string(), "...".to_string()),

// root of this backend
// ("root".to_string(), "...".to_string()),

])?;

Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.

Configuration reference

General5
KeyTypeRequiredDescription
endpointstringnoendpoint of this backend
usernamestringnousername of this backend
passwordstringnopassword of this backend
tokenstringnotoken of this backend
rootstringnoroot of this backend