Skip to content

1.0.0

Choose a tag to compare

@stephenlautier stephenlautier released this 29 Jun 23:46

Features

  • http client factory: Remove now disposes IFluentHttpClient.

  • http client builder: implement WithFormatters to be able to configure formatters.

  • http client: implement IDisposable in order to dispose underlying HttpClient.

  • request builder: implement ReturnAsString, ReturnAsStream and ReturnAsByteArray.

  • request: Method and Uri has now also setters.

  • request: Add Items in order to share state across requests/response.

  • response: StatusCode and ReasonPhrase has now also setters.

  • response: Items now are shared with request.

  • response: Expose Content from Message.

  • middleware: Now supports arguments via UseMiddleware<T>(args).

  • timer middleware: Now supports options, for configure WarnThreshold.

  • timer middleware: Add extension method UseTimer for convience.

Code Refactoring

  • http client builder: Rename AddMiddleware to UseMiddleware.

  • http client builder: UseMiddleware<T>, is now constrained with IFluentHttpMiddleware.

  • request: Rename Url to Uri.