View Source LibOss.Typespecs (lib_oss v0.1.2)

some typespecs

Summary

Types

@type access_point_name() :: bitstring()
@type acl() :: bitstring()
@type body() :: iodata() | nil
@type bucket() :: bitstring()
@type headers() :: [{String.t(), String.t()}]
@type host() :: String.t()
@type http_status() :: non_neg_integer()
@type method() :: :get | :post | :head | :patch | :delete | :options | :put
@type object() :: bitstring()
@type on_start() ::
  {:ok, pid()} | :ignore | {:error, {:already_started, pid()} | term()}
@type opts() :: keyword()
@type params() :: %{required(String.t()) => binary()}
@type string_dict() :: %{required(bitstring()) => any()}