Xuanwo
05/23/2023, 12:55 PMXuanwo
05/23/2023, 12:56 PMrust
let bs = op.read_with(
"path/to/file",
OpRead::new()
.with_range(0..=1024)
.with_if_match("<etag>")
.with_if_none_match("<etag>")
.with_override_cache_control("<cache_control>")
.with_override_content_disposition("<content_disposition>")
).await?;
to
rust
let bs = op.read_with("path/to/file")
.range(0..=1024)
.if_match("<etag>")
.if_none_match("<etag>")
.override_cache_control("<cache_control>")
.override_content_disposition("<content_disposition>")
.await?;Xuanwo
05/23/2023, 12:56 PMXuanwo
05/24/2023, 8:22 AMXuanwo
05/24/2023, 8:22 AMXuanwo
05/24/2023, 8:29 AMXuanwo
05/24/2023, 8:29 AM