https://github.com/siddiqsoft/splituri
Split Uri for modern C++
https://github.com/siddiqsoft/splituri
cpp cpp20 http http-utils nlohmann-json parser uri-parser utility windows
Last synced: 29 days ago
JSON representation
Split Uri for modern C++
- Host: GitHub
- URL: https://github.com/siddiqsoft/splituri
- Owner: SiddiqSoft
- License: bsd-3-clause
- Created: 2021-08-03T18:13:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-09T09:55:28.000Z (4 months ago)
- Last Synced: 2025-04-14T23:41:55.417Z (29 days ago)
- Topics: cpp, cpp20, http, http-utils, nlohmann-json, parser, uri-parser, utility, windows
- Language: C++
- Homepage: https://siddiqsoft.github.io/SplitUri/
- Size: 110 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SplitUri : Parse Uri Utility
-------------------------------------------[](https://dev.azure.com/siddiqsoft/siddiqsoft/_build/latest?definitionId=14&branchName=main)
[](https://dev.azure.com/siddiqsoft/siddiqsoft/_build/latest?definitionId=14&branchName=develop)


# Objective
Parse the Uri for HTTP resources with support for `std::format` and `nlohmann.json` serializers.
While there are many, many libraries available, the goal of this implementation is to make *usage* easy.
## Features
- Literals support so you can use `auto u= "https://www.siddiqsoft.com/"_Uri;`
- Formatters for `std::format` as well as serializers for `nlohmann.json` library.
- Support for `std::string` and `std::wstring`
- Cross-platform header-only with googletest framework for tests. _Build and tests are for Visual Studio 2019 under x64._Please refer to the [documentation](https://siddiqsoft.github.io/SplitUri/).
## Usage
> Breaking change with `v1.9.0` the literals namespace has been changed to `siddiqsoft::splituri_literals`.
© 2021 Siddiq Software LLC. All rights reserved.