UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
webserver.hpp
Go to the documentation of this file.
1#ifndef UPNPLIB_WEBSERVER_HPP
2#define UPNPLIB_WEBSERVER_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: 2025-06-11
12#include <string>
14
15namespace UPnPsdk {
16
19 std::string extension;
20 std::string type;
21 std::string subtype;
22};
23
42 std::string_view a_extension
43);
44} // namespace UPnPsdk
45
46#endif // UPNPLIB_WEBSERVER_HPP
Reengineered Object Oriented UPnP+ program code.
std::string extension
extension of a filename
Definition webserver.hpp:19
std::string subtype
file subtype
Definition webserver.hpp:21
std::string type
file type
Definition webserver.hpp:20
UPnPsdk_VIS const Document_meta * select_filetype(std::string_view a_extension)
Based on the extension, returns the content type and content subtype.
Mapping of file extension to content-type of document.
Definition webserver.hpp:18
Macros to support visibility of external symbols.
#define UPnPsdk_VIS
Prefix to export symbol for external use.