View Source ExWechatpay.Http behaviour (ex_wechatpay v0.1.5)

behavior os http transport

Summary

Types

Callbacks

@callback do_request(
  http :: t(),
  req :: ExWechatpay.Http.Request.t()
) :: {:ok, ExWechatpay.Http.Response.t()} | {:error, ExWechatpay.Error.t()}
@callback new(ExWechatpay.Typespecs.opts()) :: t()
@callback start_link([{:http, t()}]) :: ExWechatpay.Typespecs.on_start()

Functions