View Source ExWechatpay.Typespecs (ex_wechatpay v0.1.5)

some typespecs

Summary

Types

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