Upstream v2.0.5 Upstream.B2.Upload.Part View Source

Handle uploading of part

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Upstream.B2.Upload.Part{
  content_length: String.t(),
  content_sha1: String.t(),
  file_id: String.t(),
  part_number: String.t()
}

Link to this section Functions

Callback implementation for Upstream.B2.Base.body/1.

Link to this function call(auth, options \\ []) View Source
call(Upstream.B2.Account.Authorization.t() | nil, Keyword.t()) ::
  {:ok | :error,
   %Upstream.B2.Upload.Part{
     content_length: term(),
     content_sha1: term(),
     file_id: term(),
     part_number: term()
   }
   | struct()}

Callback implementation for Upstream.B2.Base.header/2.

Link to this function url(auth, upload_url) View Source
url(any(), binary()) :: binary()

Callback implementation for Upstream.B2.Base.url/2.