Skip to content

Releases: maxkagamine/Moq.Contrib.HttpClient

v1.4.0

Choose a tag to compare

@maxkagamine maxkagamine released this 09 Jul 06:32
8d3dc66

v1.3.0

Choose a tag to compare

@maxkagamine maxkagamine released this 16 Dec 08:41
51671a4
  • Return new response instance on each request (#4)
    • Prevents subsequent requests to the same setup from receiving already-disposed instances. This can happen either by the code under test wrapping the response in a using or by HttpClient's GetStringAsync and GetByteArrayAsync which do the same.
    • Streams passed to ReturnsResponse are now wrapped to allow multiple requests/setups to read from the same stream without interfering with each other (if seekable, such as MemoryStream).
    • The RequestMessage property on HttpResponseMessage is now correctly populated (except SetupRequestSequence).

v1.2.0

Choose a tag to compare

@maxkagamine maxkagamine released this 13 Dec 03:42
df50766

Initial release