2#include <iolink/IOLinkAPI.h>
13class IOLINK_API
Uri final
19 explicit Uri(
const std::string& uri);
Class modeling universal resource identifier.
Definition: Uri.h:14
Uri(const Uri &other)
Asssignment Operator and Copy Constructor.
uint16_t port() const
Returns the port number part of the URI.
std::string pathAndQuery() const
Returns the encoded path and query parts of the URI.
std::string scheme() const
Scheme or protocol e.g.
Uri(const std::string &uri)
Parses string and sets uri fields.
std::string authority() const
Returns the authority part (userInfo, host and port) of the URI.
std::string toString() const
Returns a string representation of the URI.
std::string userInfo() const
Returns the user-info part of the URI.
std::string query() const
Returns the decoded query part of the URI.
std::string host() const
Returns the host part of the URI.
std::string path() const
Returns the decoded path part of the URI.
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8