SiddiqSoft.restcl
1.6.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SiddiqSoft.restcl --version 1.6.2
NuGet\Install-Package SiddiqSoft.restcl -Version 1.6.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SiddiqSoft.restcl" Version="1.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SiddiqSoft.restcl" Version="1.6.2" />
<PackageReference Include="SiddiqSoft.restcl" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SiddiqSoft.restcl --version 1.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SiddiqSoft.restcl, 1.6.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SiddiqSoft.restcl@1.6.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SiddiqSoft.restcl&version=1.6.2
#tool nuget:?package=SiddiqSoft.restcl&version=1.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
restcl : A focused REST Client for Modern C++
Motivation
Design a library where JSON is a first-class API metaphor for interacting with RESTful servers.
- Focused on REST interactions with JSON. Limiting allows us to simplify the usage and make it feel very C++ instead of the C-like API of Win32 or OpenSSL.
- Modern C++ features: C++20 is required!
- Visual Studio 2022
- Windows version uses WinHTTP library and HTTP/2
- Header only
- Use native implementations for the actual IO: Windows support uses WinHttp library.
- Initial implementation is for Windows using WinHTTP.
- Alternate implementation using OpenSSL tbd.
- Support for literals to allow
_GET,_DELETE, etc. Using thesiddiqsoft::httpqrequest::literalsnamespace. - Support for std::format and concepts.
- Be instructional and use as little code as necessary.
- The focus is on the interface to the end user.
- Performance is not the objective.
- Simplicity (hide the underlying implementation)
Roadmap
- Switch to CMake build
- Do a UNIX version, of course!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- nlohmann.json (>= 3.11.0)
- SiddiqSoft.acw32h (>= 2.6.0)
- SiddiqSoft.asynchrony (>= 1.6.1)
- SiddiqSoft.AzureCppUtils (>= 1.5.0)
- SiddiqSoft.SplitUri (>= 2.0.0)
- SiddiqSoft.string2map (>= 2.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SiddiqSoft.restcl:
| Package | Downloads |
|---|---|
|
SiddiqSoft.CosmosClient
Azure Cosmos REST-API Client for Modern C++ |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.5 | 24 | 5/22/2026 |
| 2.3.4 | 93 | 5/19/2026 |
| 2.3.3 | 86 | 5/18/2026 |
| 2.3.2 | 88 | 5/18/2026 |
| 2.3.1 | 87 | 5/18/2026 |
| 2.2.1 | 94 | 5/16/2026 |
| 2.1.0 | 115 | 5/1/2026 |
| 2.0.3 | 152 | 4/29/2026 |
| 2.0.2 | 114 | 4/28/2026 |
| 1.6.5 | 510 | 12/17/2024 |
| 1.6.4 | 456 | 12/13/2024 |
| 1.6.3 | 474 | 12/12/2024 |
| 1.6.2 | 435 | 12/7/2024 |
| 1.6.1 | 427 | 12/7/2024 |
| 1.6.0 | 413 | 12/7/2024 |
| 1.5.2.4 | 453 | 10/28/2024 |
| 1.5.2 | 443 | 10/25/2024 |
| 1.5.1 | 457 | 10/4/2024 |
| 0.10.13 | 410 | 10/2/2024 |
| 0.10.12 | 444 | 10/2/2024 |
Loading failed
Documentation at https://siddiqsoft.github.io/restcl