View Source ExWechatpay.Http behaviour (ex_wechatpay v0.2.0)
behavior os http transport
Summary
Callbacks
@callback do_request( name :: pid() | {atom(), node()} | ExWechatpay.Typespecs.name(), req :: ExWechatpay.Model.Http.Request.t() ) :: {:ok, ExWechatpay.Model.Http.Response.t()} | {:error, ExWechatpay.Exception.t()}