Date | 2019-08-17 (1,958 days ago) |
---|---|
Downloads | 644 downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 |
#installation
">Installation#changelog
">ChangelogUpdated an issue with setting the content type of POST requests via the HttpRequest
class (see 094eefd
).
The content type would in some cases automatically be overwritten by the internal logic in the HttpRequest
. With this release, the internal logic will no longer set the content type if one has already been specified.
Added constructor overloads and extra static methods to allow easier initialization of the HttpRequest
class (see 0a2ed4c
and 941e8d9
).
The HttpRequest
now has a number of new constructor overloads allowing developers to specify options such as the HTTP method and URL directly in the constructor instead of having to populate the corresponding properties after the instance has been created.
The IHttpRequest
interface should have the same properties as the HttpRequest
class (see 5f35656
)
Technically this is a breaking change 💣, but only if you have your own classes implementing the IHttpResponse
interface.