Aliyun.Oss.Object.append_object
You're seeing just the function
append_object
, go back to Aliyun.Oss.Object module for more information.
Link to this function
append_object(bucket, object, body, position, headers \\ %{})
Specs
append_object(String.t(), String.t(), String.t(), integer(), map()) :: {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
AppendObject接口用于以追加写的方式上传Object。
Examples
iex> Aliyun.Oss.Object.append_object("some-bucket", "some-object", "CONTENT", 0)
{:ok, %Aliyun.Oss.Client.Response{
data: "",
headers: [
{"Server", "AliyunOSS"},
{"Date", "Fri, 01 Mar 2019 05:57:23 GMT"},
{"Content-Length", "0"},
{"Connection", "keep-alive"},
{"x-oss-request-id", "5C0000000000000000000000"},
{"ETag", ""B38D0000000000000000000000000000""},
{"x-oss-next-append-position", "10"},
{"x-oss-hash-crc64ecma", "8000000000000000000"},
{"x-oss-server-time", "17"}
]
}
}