View Source LibWechat.Http.Response (lib_wechat v0.2.1)
http response
Summary
Types
@type t() :: %LibWechat.Http.Response{ body: LibWechat.Typespecs.body(), headers: LibWechat.Typespecs.headers(), status_code: non_neg_integer() }
Functions
@spec json(t()) :: {:ok, LibWechat.Typespecs.string_dict()} | {:error, any()}
@spec new(http_response_schema_t()) :: t()