View Source LibWechat.Http behaviour (lib_wechat v0.3.0)

behavior os http transport

Summary

Callbacks

@callback do_request(
  name :: LibWechat.Typespecs.name() | pid(),
  req :: LibWechat.Model.Http.Request.t()
) :: {:ok, LibWechat.Model.Http.Response.t()} | {:error, LibWechat.Error.t()}