Skip to content

1.5.8

Compare
Choose a tag to compare
@cs-util cs-util released this 27 Mar 17:41
· 1096 commits to master since this release
f1a7caa

Most relevant changes:

  • Added method to load and save CookieContainers from and to files and streams
  • Added flag to not change the DateTimeV2 diff of local time to server time with every single request by default but only for the very first request
  • Important fix in UriRestRequest to not override outer result Task
  • Added method to shuffle ILists via a Random extension
  • Added ToReadableString extension for DateTime that includes also milliseconds
  • Improvements to DateTimeV2 logic to improve automatic usage of server UTC time when possible
  • Added upload progress for file via form uploads
  • Added a taskcompletionshource to the RestRequest interface to use it for canceling internal parts of the request
  • Added a test that tests uploads via application/octet-stream
  • Applying the request headers to the single request message instead of to the client
  • Switched to a reused HttpClient (and handler) in the default RestFactory so that all requests share request ressources (See also https://www.aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/ for details)
  • Made the send rest request message a field to be able to dispose it properly

All changes can be seen here:
v1.5.7...v1.5.8