EasyPost.HTTP.Hackney (ex_easypost v3.0.4)

Link to this section Summary

Link to this section Functions

Link to this function

request(method, url, headers, body, opts)

@spec request(
  EasyPost.http_method_t(),
  String.t(),
  EasyPost.http_headers_t(),
  String.t(),
  any()
) :: {:ok, EasyPost.HTTP.response_t()} | {:error, any()}

Callback implementation for EasyPost.HTTP.request/5.