diff --git a/AdvancedRestHandler/AdvancedRestHandler.cs b/AdvancedRestHandler/AdvancedRestHandler.cs index 846cae0..7121ea4 100644 --- a/AdvancedRestHandler/AdvancedRestHandler.cs +++ b/AdvancedRestHandler/AdvancedRestHandler.cs @@ -2329,7 +2329,7 @@ protected virtual HttpContent ObjectSerializer(TRequest req, RestHandl #warning ...??? var keyValueOnObject = ToKeyValue(req); var keyValueRequest = new List>(); - foreach (KeyValuePair p in keyValueRequest) + foreach (KeyValuePair p in keyValueOnObject) { if (p.Value != null) keyValueRequest.Add(new KeyValuePair(p.Key, p.Value)); diff --git a/AdvancedRestHandler/AdvancedRestHandler.csproj b/AdvancedRestHandler/AdvancedRestHandler.csproj index 5a9b710..2442d40 100644 --- a/AdvancedRestHandler/AdvancedRestHandler.csproj +++ b/AdvancedRestHandler/AdvancedRestHandler.csproj @@ -7,11 +7,13 @@ true LICENSE.md Arh - 1.6.0.0 - 1.6.0.0 - 1.6.0 + 1.7.0.0 + 1.7.0.0 + 1.7.0 https://github.com/deadmann/AdvancedRestHandler + 1.7.0 + - Fix bug regarding FormUrlEncode were empty 1.6.0 - Add support for using custom SSL/TSL protocols 1.5.0 @@ -37,7 +39,7 @@ AdvancedRestHandler AdvancedRestHandler AdvancedRestHandler - 1.6.0 + 1.7.0 11 diff --git a/AdvancedRestHandler/AdvancedRestHandler.xml b/AdvancedRestHandler/AdvancedRestHandler.xml index 2c1c5f7..110550b 100644 --- a/AdvancedRestHandler/AdvancedRestHandler.xml +++ b/AdvancedRestHandler/AdvancedRestHandler.xml @@ -20,6 +20,11 @@ If set, will be used globally for requests + + + If set, will be used globally for requests + + The Constructor @@ -992,6 +997,11 @@ Set global Timeout of requests + + + Set global SslProtocols + + A Sets of configuration that can be passed to each methods in AdvancedRestHandler instance, for modifying the way request should be processed. diff --git a/README.md b/README.md index e76c247..c4494ad 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,16 @@ A utility code that can be used to request Data from services... This library is based on my experience and need of working in the past company, taking many services in. I could handle any request so far using it, and every time I felt it doesn't support my need, i tried to expand it. -[![NuGet](https://img.shields.io/badge/nuget-v1.6.0-blue)](https://www.nuget.org/packages/AdvancedRestHandler/) +[![NuGet](https://img.shields.io/badge/nuget-v1.7.0-blue)](https://www.nuget.org/packages/AdvancedRestHandler/) First install the package using following commands, or download it manually from release section... ```powershell -Install-Package AdvancedRestHandler -Version 1.6.0 +Install-Package AdvancedRestHandler -Version 1.7.0 ``` or ```sh -dotnet add package AdvancedRestHandler --version 1.6.0 +dotnet add package AdvancedRestHandler --version 1.7.0 ``` Then you can use the library. diff --git a/_Docs/push nuget github package.md b/_Docs/push nuget github package.md index bf296a9..a9a4134 100644 --- a/_Docs/push nuget github package.md +++ b/_Docs/push nuget github package.md @@ -26,7 +26,7 @@ $ dotnet nuget push "bin/Release/AdvancedRestHandler.1.0.0.nupkg" --source "gith ``` // OR (Based on nuget.config Configuration) ```bash -$ dotnet nuget push "bin/Release/AdvancedRestHandler.1.6.0.nupkg" --source "github" --api-key=[GH_AccessToken] +$ dotnet nuget push "bin/Release/AdvancedRestHandler.1.0.0.nupkg" --source "github" --api-key=[GH_AccessToken] ``` // OR (With %Key%) ```bash