Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# HttpClientServiceHelper

.NET HTTP Client Service library.

## Stats and Reports

![GitHub contributors](https://img.shields.io/github/contributors-anon/daraoladapo/HttpClientServiceHelper)
[![Build Status](https://dev.azure.com/daraoladapo/HttpClientServiceHelper/_apis/build/status/HttpClientServiceHelper?branchName=master)](https://dev.azure.com/daraoladapo/HttpClientServiceHelper/_build/latest?definitionId=3&branchName=master)
![Nuget](https://img.shields.io/nuget/dt/HttpClientServiceHelper?label=Total%20NUGET%20Downloads)
![GitHub](https://img.shields.io/github/license/daraoladapo/httpclientservicehelper)



![GitHub](https://img.shields.io/github/license/daraoladapo/httpclientservicehelper)

Use this library to quickly bootstrap your HttpClient Service calls.
It uses the System.Net.Http library.
Expand All @@ -34,4 +32,4 @@ Copy the following into the .csproj file of your project (using version 1.0.0 as

Get the NUGET Package [here](https://www.nuget.org/packages/HttpClientServiceHelper).

Happy Usage!
Happy Usage!
3 changes: 2 additions & 1 deletion src/HttpClientServiceHelper/Get.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace HttpClientServiceHelper
/// </summary>
public partial class HttpClientHelper
{
#region TODO
/// <summary>
/// Triggers a GET request to the specified route and retrieves the result as a generic object response.
/// </summary>
Expand Down Expand Up @@ -183,7 +184,7 @@ public partial class HttpClientHelper
// }
// }
//}

#endregion
/// <summary>
/// Triggers a GET request to the specified route and retrieves the result as an HTTP Response Message.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/HttpClientServiceHelper/HttpClientServiceHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It returns an HttpResponseMessage/String Response depending on the method called
</CustomCommands>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/HttpClientServiceHelper/Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static async Task<string> PatchAndGetResponseAsStringAsync(string Route,
return await httpResponse.Content.ReadAsStringAsync();
}
}

#region TODO
/// <summary>
/// Triggers a Patch request to the specified route and retrieves the result as an HTTP Response Message.
/// </summary>
Expand Down Expand Up @@ -366,5 +366,6 @@ public static async Task<string> PatchAndGetResponseAsStringAsync(string Route,
// }
// }
//}
#endregion
}
}
3 changes: 2 additions & 1 deletion src/HttpClientServiceHelper/Post.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static async Task<string> PostAndGetResponseAsStringAsync(string Route, o
return await httpResponse.Content.ReadAsStringAsync();
}
}

#region TODO
/// <summary>
/// Triggers a Post request to the specified route and retrieves the result as an HTTP Response Message.
/// </summary>
Expand Down Expand Up @@ -366,5 +366,6 @@ public static async Task<string> PostAndGetResponseAsStringAsync(string Route, o
// }
// }
//}
#endregion
}
}
3 changes: 2 additions & 1 deletion src/HttpClientServiceHelper/Put.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public static async Task<string> PutAndGetResponseAsStringAsync(string Route, ob
return await httpResponse.Content.ReadAsStringAsync();
}
}

#region TODO
Copy link

Copilot AI Jun 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider removing the #region TODO blocks and the commented-out code if they're no longer needed, or replace them with concrete TODO items and task references to keep the codebase clean and actionable.

Copilot uses AI. Check for mistakes.
/// <summary>
/// Triggers a PUT request to the specified route and retrieves the result as an HTTP Response Message.
/// </summary>
Expand Down Expand Up @@ -366,5 +366,6 @@ public static async Task<string> PutAndGetResponseAsStringAsync(string Route, ob
// }
// }
//}
#endregion
}
}
Loading