Upstream v2.0.7 Upstream.B2.Upload behaviour View Source

Public api for B2.Upload

Link to this section Summary

Link to this section Functions

Link to this function file(auth, url, header, body) View Source
file(Upstream.B2.Account.Authorization.t(), any(), any(), any()) ::
  {:error, struct()} | {:ok, struct()}
Link to this function part(auth, url, header, body) View Source
part(nil | Upstream.B2.Account.Authorization.t(), any(), any(), any()) ::
  {:error, struct()} | {:ok, struct()}
Link to this function part_url(auth, file_id) View Source
part_url(Upstream.B2.Account.Authorization.t(), any()) ::
  {:error, struct()} | {:ok, struct()}

Link to this section Callbacks

Link to this callback part(arg0, binary, any, any) View Source
part(Upstream.B2.Account.Authorization.t(), binary(), any(), any()) ::
  {:error, struct()} | {:ok, struct()}