Uri

Inherited: None

Description

Public Methods

std::string

baseName () const

std::string

dir () const

std::string

fragment () const

std::string

host () const

std::string

name () const

std::string

path () const

std::string

query () const

std::string

scheme () const

std::string

suffix () const

Static Methods

None

Methods Description

std::string Uri::baseName () const

Returns a base name of file in the URI path.


std::string Uri::dir () const

Returns a directory of URI path.


std::string Uri::fragment () const

Returns the fragment of the URI.


std::string Uri::host () const

Returns the host of the URI if it is defined; otherwise an empty string is returned.


std::string Uri::name () const

Returns a file name in the URI path.


std::string Uri::path () const

Returns the path of the URI.


std::string Uri::query () const

Returns the query string of the URI if there’s a query string, or an empty result if not.


std::string Uri::scheme () const

Returns the scheme of the URI. If an empty string is returned, this means the scheme is undefined and the URI is then relative.


std::string Uri::suffix () const

Returns a file suffix in the URI path.