View Source CozyOSS (cozy_oss v0.2.0)
An SDK builder for RESTful API of Aliyun OSS / Alibaba Cloud OSS.
Link to this section Summary
Link to this section Functions
Bulids a struct %CozyOSS.ApiRequest{}
.
This function has built-in signing support, and it's controlled by option :sign_by
:
sign_by: :header
(default) - add signatures to request headers.sign_by: :url
- add signatures to URL.
When using sign_by: :url
, an extra option :expiration_in_seconds
is supported.
See CozyOSS.ApiRequest.build!/3
for more information.
Link to this function