Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
Loading...
Searching...
No Matches
dcn::http::URL Class Reference

#include <url.hpp>

Public Member Functions

 URL ()=default
 URL (const std::string &url)
 URL (std::string &&url)
 URL (const char *url)
 URL (const URL &)=default
 URL (URL &&)=default
 ~URL ()=default
URLoperator= (const URL &)=default
URLoperator= (URL &&)=default
bool operator== (const URL &other) const
std::string getFullPath () const
 Returns the full path of the URL, including the query string.
std::string getPathModule () const
 Returns the path module of the URL.
std::string getPathInfo () const
 Returns the path info of the URL.
std::string getQuery () const
 Returns the query string of the URL.

Constructor & Destructor Documentation

◆ URL() [1/6]

dcn::http::URL::URL ( )
default

◆ URL() [2/6]

dcn::http::URL::URL ( const std::string & url)

◆ URL() [3/6]

dcn::http::URL::URL ( std::string && url)

◆ URL() [4/6]

dcn::http::URL::URL ( const char * url)

◆ URL() [5/6]

dcn::http::URL::URL ( const URL & )
default

◆ URL() [6/6]

dcn::http::URL::URL ( URL && )
default

◆ ~URL()

dcn::http::URL::~URL ( )
default

Member Function Documentation

◆ getFullPath()

std::string dcn::http::URL::getFullPath ( ) const

Returns the full path of the URL, including the query string.

Returns
The full path of the URL.

◆ getPathInfo()

std::string dcn::http::URL::getPathInfo ( ) const

Returns the path info of the URL.

Returns
The path info of the URL.

◆ getPathModule()

std::string dcn::http::URL::getPathModule ( ) const

Returns the path module of the URL.

Returns
The path module of the URL.

◆ getQuery()

std::string dcn::http::URL::getQuery ( ) const

Returns the query string of the URL.

Returns
The query string of the URL.

◆ operator=() [1/2]

URL & dcn::http::URL::operator= ( const URL & )
default

◆ operator=() [2/2]

URL & dcn::http::URL::operator= ( URL && )
default

◆ operator==()

bool dcn::http::URL::operator== ( const URL & other) const

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