Skip to content

v0.4.0

Compare
Choose a tag to compare
@dxx dxx released this 05 Jun 02:47
· 57 commits to main since this release

Features

  • Add json feature: Enable json serialization and deserialization
  • Add log feature: Enable request and response logs
  • Add param attribute that can dynamic replace placeholder
  • A new way to specity the request header with headers metadate in attribute macros
  • Support use Vec<u8> to get or submit byte data
  • Enhanced error handling

Changes

  • Change HttpClient to builder mode. Now use RequestBuilder to create RequestWrapper
  • JSON serialization and deserialization are disabled by default

Fixes

  • Fix error when function return feignhttp::Result<()>