Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T22:33:35.000Z (about 2 years ago)
- Last Synced: 2024-10-03T10:18:49.189Z (4 months ago)
- Topics: cpp, cpp20, http, http-utils, nlohmann-json, parser, uri-parser, utility, windows
- Language: C++
- Homepage: https://siddiqsoft.github.io/SplitUri/
- Size: 90.8 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SplitUri : Parse Uri Utility
-------------------------------------------[![Build Status](https://dev.azure.com/siddiqsoft/siddiqsoft/_apis/build/status/SiddiqSoft.SplitUri?branchName=main)](https://dev.azure.com/siddiqsoft/siddiqsoft/_build/latest?definitionId=14&branchName=main)
[![Build Status](https://dev.azure.com/siddiqsoft/siddiqsoft/_apis/build/status/SiddiqSoft.SplitUri?branchName=develop)](https://dev.azure.com/siddiqsoft/siddiqsoft/_build/latest?definitionId=14&branchName=develop)
![](https://img.shields.io/nuget/v/SiddiqSoft.SplitUri)
![](https://img.shields.io/github/v/tag/SiddiqSoft/SplitUri)
![](https://img.shields.io/azure-devops/tests/siddiqsoft/siddiqsoft/14)# 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.