UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
urlparser.hpp
Go to the documentation of this file.
1#ifndef UPNPLIB_NET_URI_URLPARSER_HPP
2#define UPNPLIB_NET_URI_URLPARSER_HPP
3// Copyright (C) 2022+ GPL 3 and higher by Ingo Höft, <Ingo@Hoeft-online.de>
4// Redistribution only with this Copyright remark. Last modified: 2024-08-18
11// This class is based on the "URL Living Standard"
12// ================================================
13// At time the Url parser was coded this
14// Commit Snapshot — Last Updated 21 February 2022 of the URL standard:
15// https://url.spec.whatwg.org/commit-snapshots/9a83e251778046b20f4822f15ad4e2a469de2f57//
16// was used.
17//
18// To understand the parser follow there the [basic URL parser]
19// (https://url.spec.whatwg.org/#concept-basic-url-parse://url.spec.whatwg.org/commit-snapshots/9a83e251778046b20f4822f15ad4e2a469de2f57/#concept-basic-url-parser)
20//
21// To manual verify URLs conforming to the standard you can use the
22// [Live URL Viewer](https://jsdom.github.io/whatwg-url/).
23
24#include <array>
25#include <string_view>
26
28namespace UPnPsdk {
29
30// IPv6 parser
31// ===========
32std::array<unsigned short, 8> ipv6_parser(std::string_view a_input);
33
34} // namespace UPnPsdk
36
37#endif // UPNPLIB_NET_URI_URLPARSER_HPP
Reengineered Object Oriented UPnP+ program code.