Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Limited URI toolkit to query handled protocols by the IO implementation. More...
Functions | |
std::string_view | get_scheme (const std::string_view &uri) noexcept |
Returns the valid uri-scheme from given uri, which is empty if no valid scheme is included. More... | |
bool | is_httpx_protocol (const std::string_view &uri) noexcept |
Returns true if the uri-scheme of given uri matches the http or https protocol, i.e. More... | |
bool | is_local_file_protocol (const std::string_view &uri) noexcept |
Returns true if the uri-scheme of given uri matches the local file protocol, i.e. More... | |
bool | protocol_supported (const std::string_view &uri) noexcept |
Returns true if the uri-scheme of given uri matches a supported by libcurl network protocols otherwise false. More... | |
std::vector< std::string_view > | supported_protocols () noexcept |
Returns a list of supported protocol supported by libcurl network protocols, queried at runtime. More... | |
Limited URI toolkit to query handled protocols by the IO implementation.
The URI scheme functionality exposed here is limited and only provided to decide whether the used implementation is able to handle the protocol. This is not a replacement for a proper URI class.