IOLink  IOL_v1.6.1_release
iolink::Uri Class Referencefinal

Class modeling universal resource identifier. More...

#include <iolink/Uri.h>

Public Member Functions

 Uri (const std::string &uri)
 Parses string and sets uri fields.
 
 Uri (const Uri &other)
 Asssignment Operator and Copy Constructor.
 
Urioperator= (Uri rhs)
 
 ~Uri ()
 Destructor.
 
std::string scheme () const
 Scheme or protocol e.g. More...
 
std::string authority () const
 Returns the authority part (userInfo, host and port) of the URI.
 
std::string host () const
 Returns the host part of the URI.
 
uint16_t port () const
 Returns the port number part of the URI.
 
std::string userInfo () const
 Returns the user-info part of the URI.
 
std::string path () const
 Returns the decoded path part of the URI.
 
std::string query () const
 Returns the decoded query part of the URI.
 
std::string pathAndQuery () const
 Returns the encoded path and query parts of the URI.
 
std::string toString () const
 Returns a string representation of the URI.
 

Detailed Description

Class modeling universal resource identifier.

Member Function Documentation

◆ scheme()

std::string iolink::Uri::scheme ( ) const

Scheme or protocol e.g.

http, https, ftp


The documentation for this class was generated from the following file: