LibWechat.Http protocol (lib_wechat v0.4.0)

View Source

Summary

Types

t()

All the types that implement this protocol.

Functions

Perform an HTTP request.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

do_request(http, req)

@spec do_request(
  http :: t(),
  req :: LibWechat.Model.Http.Request.t()
) :: {:ok, LibWechat.Model.Http.Response.t()} | {:error, LibWechat.Error.t()}

Perform an HTTP request.